Writing High Quality Terraform Modules for Exponential Organizations
summary
Shows a reusable aws vpc module with main, variables, outputs and an examples directory and a GitHub repo; uses a count attribute to create subnets and enforces types and descriptions so configs fail fast (no defaults for required inputs). Generates README with terraform-docs, runs an automated CI/CD pipeline that applies examples and destroys them, and practices semantic versioning with tags (demonstrates a breaking change where a required variable becomes optional).
AI-written summary · about
chapters (11)
- 0:00Intro
- 1:15What are Terraform Modules
- 5:35Example Terraform Module
- 7:05Main File
- 9:45Subnets
- 10:15Variables
- 13:15Outputs
- 14:15Examples
- 17:55Editor Configuration File
- 19:15Terraform Docs
- 22:40Conclusion
related talks
28mDeveloping Terraform Modules at Scale
30mMastering Terraform: A deep dive into essential workflows
58mTerraform: Uncovering Best Practices for Building Modules
41mScale infrastructure operations with HCP Terraform self-service workflows
24mTerraform Best Practices
27mOptimizing Terraform integration inside GitLab CI/CD pipelines
30mManaging Terraform Cloud With PowerShell
23mVagrant + Terraform: The Awesome Software Development Duo
