Terraform staging environment

Revision history
Tags: terraform

I was looking for a fairly simple way of handling different deployment environments with Terraform. Here are some of my notes on variables, workspaces, environments and variable overrides.

Variable files containing overrides (.tfvars) have a simple syntax:

gce_region = "europe-west1-c"
namespace = "myapp-staging"

References

If you have any comments or feedback, please send me an e-mail. (stig at stigok dotcom).

Did you find any typos, incorrect information, or have something to add? Then please propose a change to this post.

Creative Commons License This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.