terraform-conventions
Installation
SKILL.md
When to Use
- Creating a new Terraform directory or module
- Adding resources, variables, or outputs to existing
.tffiles - Reviewing Terraform code for style and organization
- Deciding how to split resources across files
- Running the plan/apply workflow
Critical Patterns
File Organization — One Concern Per File
Every Terraform directory MUST have these files. No exceptions.
| File | Contains | Rule |
|---|---|---|
versions.tf |
terraform {} block — required providers, version constraints |
ONE per directory, never duplicated |
Related skills