Skip to main content
Cloud Automation

Terraform Module Patterns: How I Structure IaC for Reuse

March 18, 202611 min read
TerraformAWSIaCInfrastructureDevOpsHCL
Share:

After building the AWS Landing Zone and multiple infrastructure projects, I've developed opinions about how to write Terraform modules that other people can actually use.

The Module Structure

Every module follows this structure:

\

Related reading

All posts →
Jason Teixeira
Written by
Jason Teixeira
Founder, Sage Ideas Studio
More about Jason →

Want to see this in action?

Check out the projects and case studies behind these articles.

livebuild 29be8ec2026-06-11 06:38Z
// solo studio// no analytics resold// every commit human-reviewed