cloudify-cosmo/Execute Terraform Environment Apply

Execute a terraform apply on already created environment, or create one if it doesn't exist.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Oct 5, 2022
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: cloudify-cosmo/terraform-apply-action@004955c6c5e3827404856dc8b3e16ac5f5617c75 # v1.3

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
environment-nameName of Cloudify environment to handle terraform applyyes
environment-idId of Cloudify environment to handle terraform applyno-
labelsA labels list of the form <key>:<value>,<key>:<value>. Any comma and colon in <value> must be escaped with \. The labels’ keys are saved in lowercase. no-
module-fileURL/path to Terraform module archiveyes
module-source-pathpath to Terraform module inside the archiveyes
variables-fileYAML/JSON file containing template variablesno-
environment-fileYAML/JSON file containing environment variables to pass to the Terraform process no-
environment-mappingA whitespace-delimited list of strings. For each item: * If it is of the form `k=v`, then the value of the environment variable `k` is passed as environment variable `v` to Terraform * Otherwise, let the value be `x`; then the environment variable `x` is passed as-is to Terraform This effectively passes environment variables, visible to the CI/CD platform, as environment variables to Terraform. Useful, among others, for passing Cloud credentials - stored in the CI/CD platform - to Terraform no-
namedescription
terraform-outputsTerraform module outputs