| .. | ||
| action.yml | ||
| README.md | ||
terraform-module-publish
Zip a Terraform module and publish to JFrog Artifactory.
Inputs
| Input | Required | Default | Description |
|---|---|---|---|
module-dir |
Yes | Path to the module directory to zip | |
module-name |
Yes | Module name (used in zip filename and upload path) | |
version |
Yes | Version string (from git tag) | |
jfrog-token |
Yes | JFrog access token | |
jfrog-url |
No | https://schmalz.jfrog.io/artifactory/terraform/schmalz |
JFrog Artifactory base URL |
Usage
- uses: schmalz/shared-actions/.github/actions/terraform-module-publish@v1
with:
module-dir: modules/vpc
module-name: vpc
version: ${{ github.ref_name }}
jfrog-token: ${{ secrets.JFROG_TOKEN }}
Notes
- The module directory contents are zipped and uploaded to
<jfrog-url>/<module-name>/<version>.zip. - Uses
curlwith bearer token authentication.