AzBuilder / terrakube

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

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

Open hohoonsong opened 3 months ago

hohoonsong commented 3 months 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 3 months 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.