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). |
Beta Was this translation helpful? Give feedback.
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 |
Beta Was this translation helpful? Give feedback.
Hello,
You can simply use the
TF_WORKSPACE
environment 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_WORKSPACE
env var in theoverrideRunnerSpec.env
array (dev, preprod, prod).