Terraform workspace support #549
|
Hello, I looked at the doc and could not confirm it but is there any support for Terraform workspaces? or is the tool only running the plan/apply on the In our case, we use workspaces to handle multiple environments (dev, preprod, prod). |
Answered by
corrieriluca
Mar 11, 2025
Replies: 1 comment
|
Hello, You can simply use the Using the override runner spec feature of Burrito, you could create 3 TerraformLayer resources, each having a different value for the |
0 replies
Answer selected by
corrieriluca
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
You can simply use the
TF_WORKSPACEenvironment variable to indicate on which workspace Terraform needs to run its plan/apply.Using the override runner spec feature of Burrito, you could create 3 TerraformLayer resources, each having a different value for the
TF_WORKSPACEenv var in theoverrideRunnerSpec.envarray (dev, preprod, prod).