Skip to content

Module skeleton

Stub page

Opinionated layout for a reusable Terraform/OpenTofu module.

Planned content

  • versions.tf with required_providers + required_version
  • main.tf, variables.tf, outputs.tf, locals.tf split conventions
  • README structure (inputs/outputs auto-generated by terraform-docs)
  • examples/ directory pattern
  • tests/ with terratest or native test framework