dustindortch/Set TFC/TFE variable

Create or update a TFC/TFE workspace variable.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
hostnameThe hostname of a Terraform Enterprise installation, if using Terraform Enterprise. Defaults to HCP Terraform (app.terraform.io) if `TF_HOSTNAME` environment variable is not set.noapp.terraform.io
tokenThe token used to authenticate with HCP Terraform. Defaults to reading `TF_API_TOKEN` environment variable.no""
organizationThe name of the organization in HCP Terraform. Defaults to reading `TF_CLOUD_ORGANIZATION` environment variable.no""
categoryWhether this is a Terraform or environment variable. Valid values are "terraform" or "env".terraform
hclWhether to evaluate the value of the variable as a string of HCL code. Has no effect for environment variables.false
sensitiveWhether the value is sensitive. If true then the variable is written once and not visible thereafter.false
valueThe value of the workspace variable.no""
workspace_idThe ID of the workspace of the variable.yes
nameThe name of the workspace variable.yes
namedescription
statusThe result of the operation. Possible values are `Success`, `Error` or `Timeout`