An introduction to Terraform on Azure — Platform Governance in Practice
I learned Terraform the usual way: I opened the documentation, created a resource group, added a VNet, and broke things in a subscription where breaking things was allowed.
The early questions had tidy answers. Where should variables go? How should I structure a module? What does plan show me before apply changes anything? Books and examples were good at this part. After a while, I could read a plan without holding my breath.
The difficult part started when the code belonged to more than one team.
The questions change
Once several teams share the same platform, the questions stop being about one Terraform feature at a time. They look more like this:
The Azure Activity Log shows that a shared account changed a private endpoint, but not which person or team used it. How do we give teams enough access to work without losing accountability?
A database moves behind a private endpoint.…