Terraform: Uncovering Best Practices for Building Modules
summary
Covers how to design Terraform modules for Infrastructure as Code, detailing best practices and anti-patterns for structuring IaC projects. Focuses on concrete module construction techniques in Terraform and what to avoid when organizing modules and project layout.
AI-written summary · about
chapters (19)
- 0:00Event introduction
- 11:04Talk and Terraform overview
- 12:28Code style best practices
- 14:12Tools: terraform fmt and tflint
- 18:26Code reuse and organization
- 21:16Outputs as final product
- 23:41Infrastructure as a product
- 24:02Locals for code simplification
- 25:26Careful use of for_each
- 26:51Feature flags with count
- 30:04Module and repo organization
- 35:45Avoid root module variables
- 37:06Monorepo risks
- 39:12Source with version pinning
- 41:21Folder structure by environment
- 42:23Pipeline importance for modules
- 47:25Static validation and testing
- 50:33Terraform learning resources
- 51:16Q&A
related talks
26mTerraform Infrastructure as Code: Best Practices and Common Mistakes
28mDeveloping Terraform Modules at Scale
50mDescribing Infrastructure in Terraform for the Future
46mTerraform best practices with examples and arguments
46mTerraform best practices with examples and arguments
48mCodifying Infrastructure with Terraform for the Future
06mIGNITE: Terraform Practice to Enable Infrastructure Scaling
10mInfrastructure as a Code Best Practices with Terraform
