Terraform the Cloud with Azure DevOps
There is a new ADO Terraform provider that is very handy.
One of the less obvious tricks for building Terraform pipelines is the question “how does the
terraform plan command fit into the whole pipeline?!?”. If done correctly, it creates a nice mechanism for seperation of concerns. Create a distinct “Plan Step” and give the permissions to Operations teams (SRE/Support) be able to inspect and approve the plan before the
terraform apply command occurs. It is super powerful.
See Terraform plan in section 8.3.4. for how to do this.
Let me know what you think of this article on twitter @Erpenbeck!