Reference docMembers

Terraform Module Design Patterns Reference

Terraform Module Design Patterns Reference is a reference document for Codex, from the Alireza Rezvani skills and agents collection by alirezarezvani. The full text is about 1,048 words in 19 sections, with 12 code blocks and 7 tables. It is a supporting file that a skill or agent reads while it works, so the main instructions can stay short.

It is most useful for people working in Design and DevOps and infrastructure who use Codex.

What it covers

  • Pattern 1: Flat Module Single Directory
  • Example: Simple VPC + EC2
  • Pattern 2: Nested Modules Composition
  • Root Module environments/dev/main.tf
  • Key Rules
  • Pattern 3: Registry Module Pattern
  • Publishing Conventions
  • Registry Module Requirements
  • Pattern 4: Mono-Repo with Workspaces
  • Usage

The full text is in the members library

Book a call and we will give you access to the full Codex library: every entry in full, search by meaning, copy and download.

Source: https://github.com/alirezarezvani/claude-skills/blob/main/engineering/terraform-patterns/skills/terraform-patterns/references/module-patterns.md

Author: alirezarezvani, Alireza Rezvani skills and agents. License: MIT.

Related entries