The Biggest Risk in Terraform Is Where You Run Apply
The biggest risk in many Terraform setups is not the code. It is where terraform apply runs from. ๐ฅ
Terraform is not just about writing .tf files. It is about how changes are applied and controlled.
When production changes depend on a local machine, you introduce inconsistency. The Terraform version may differ. Provider versions may drift. Environment variables may not match what CI would use. Even small differences can lead to unpredictable outcomes.
Another hidden problem is accountability. Without a pipeline, there is no structured approval flow, no enforced review, and no reliable audit trail of who applied what and when. Production becomes dependent on individual discipline instead of system design.
A stronger pattern is to treat production applies as part of the platform itself. All changes flow through CI. The backend is remote with state locking. Credentials are short-lived and scoped. Approvals are explicit. The process is reproducible by any engineer on the team.
๐ง The goal is reducing blast radius and increasing predictability. Production is a risk boundary, not a convenience layer.