I have a Git repo with Terraform configuration for our environment. There are two environments based on it: prod and test.
Now I want to use Bamboo to run Terraform with it. But I find these problems:
- I want to check the result of terraform plan before running the deployment in prod environment. This is only supported in build plans for stages (manual stage).
- The build plan doesn't know about the environments but Terraform needs this info to generate correct changeset.
- My two environments are only possible in deployment projects. But there is no way to check changes before running terraform apply.
What's the way to go to run Terraform in Bamboo?