Skip to main content
Cloud Automation11 min read

Terraform Module Patterns: How I Structure IaC for Reuse

Opinionated Terraform module patterns — consistent variable naming, output contracts, testing with Terratest, and the module structure that works across teams.

Part ofCloud & Infrastructure->
By Jason TeixeiraMarch 18, 2026
TerraformAWSIaCInfrastructureDevOpsHCL
Share:
On this page

После создания AWS Landing Zone и нескольких инфраструктурных проектов у меня сформировались определённые взгляды на то, как писать модули Terraform, которые действительно могут использовать другие люди.

Структура модуля

Каждый модуль придерживается следующей структуры:

\

Reader route

article -> proof -> offer

ReadClusterProofScope

cluster

Cloud & Infrastructure

intent

Cloud Automation

route

next step

What to do with this

Turn the note into a build path.

If this topic maps to a real business problem, keep reading the cluster, study the academy path, or route the work into a scoped engagement.

Jason Teixeira
Written by
Jason Teixeira
Founder, Sage Ideas Studio · Principal Engineer
livebuild 5d6c8652026-08-05 06:00Z
// solo studio// no analytics resold// every commit human-reviewed