AzBuilder / terrakube

Open source IaC Automation and Collaboration Software.
https://docs.terrakube.io
Apache License 2.0
503 stars 39 forks source link

add workspace env variable like terraform cloud with prefix TFC_ #1169

Open hohoonsong opened 1 month ago

hohoonsong commented 1 month ago

Feature description 💡

we are using workspace name as variable in terraform code. purpose is specify env like dev/beta/prod.

Anything else?

No response

alfespa17 commented 1 month ago

We already add some default environment variables for example the workspace name is workspaceName and the organization is organizationName, you should be able to use those.