cloudify-cosmo/Create Terraform Environment

Creates a Terraform environment.

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-action@52fe313f9796af4cc44490ff23ce751aa276bbdd # v1.3

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

namedescriptionrequireddefault
environment-nameName of Cloudify environment to createyes
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-
planboolean flag to indicate whether to apply the module or just execute plan nofalse
costboolean flag to indicate whether to apply the module or just execute cost nofalse
outputs-filePath to JSON file to receive the Cloudify environment's outputs and capabilities no-
namedescription
environment-dataThe Cloudify environment's outputs and capabilties