Terraform Practices to Enable Infrastructure Scaling
summary
Concrete practices: lock module/provider/terraform versions to avoid unexpected breaking changes; tag every resource and use AWS provider default_tags plus PR checks that reject untagged changes; keep state remote in S3 with DynamoDB locking or Atlantis for plan/apply automation and drift prevention; prefer verified community modules, separate reusable submodules, store live states at team/project/env/region granularity to keep state files small; run CI checks (fmt, tflint, cost guard) and set Terraform timeouts to avoid corrupting state.
AI-written summary · about
chapters (9)
- 0:00Introduction and speaker intro
- 1:10Talk overview and assumptions
- 2:14Quick wins for Terraform
- 7:54Second nature practices
- 17:08Code best practices for Terraform
- 19:13Long-term planning for scaling
- 23:50Terraform execution best practices
- 25:57Enforcing Terraform practices
- 30:17Key takeaways and conclusion
