What problem does it solve?
Terraform codebases often suffer from inconsistent file layouts, naming, variable handling, and outputs, leading to harder reviews and deployments. This skill provides a centralized set of conventions to maintain clean, predictable infrastructure code across projects.
Core Features & Use Cases
- Enforces standard file layout for Terraform modules (versions.tf, provider.tf, variables.tf, main.tf, outputs.tf) to ensure consistent structure.
- Guides naming conventions, variable definitions with explicit types and descriptions, and safe outputs to improve maintainability and security.
- Use Case: when starting a new Terraform directory or refactoring an existing module, apply the conventions to reduce drift and review overhead.
Quick Start
Create a new Terraform directory and apply the five-file convention (versions.tf, provider.tf, variables.tf, main.tf, outputs.tf) following the patterns and rules described.