terraform

Standardize Terraform project structure, resource authoring, and module development.

16|9|Updated Nov 6, 2013
One-click install
npx skills add https://github.com/erikstmartin/dotfiles --skill terraform-erikstmartin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform
Source: https://github.com/erikstmartin/dotfiles/tree/main/skills/catalog/infra/terraform
Command: npx skills add https://github.com/erikstmartin/dotfiles --skill terraform-erikstmartin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Standardize Terraform project organization and governance to reduce drift and onboarding time.

Core Features & Use Cases

  • Project setup guidelines
  • Resource authoring conventions
  • Module development patterns
  • Pre-commit validation and quality checks

Quick Start

Create a new Terraform project following the standard layout and run terraform init to begin.

Frequently Asked Questions about terraform

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the best way to structure a production-grade Terraform project?

A standard Terraform project layout enforces naming conventions, version pinning, and input validation to ensure reproducibility. This structure reduces configuration drift and minimizes onboarding time for new team members.

How do I enforce Terraform best practices before committing code?

You can enforce Terraform best practices before committing by implementing pre-commit validation. This runs quality checks on HCL configurations and modules locally, ensuring resource authoring conventions pass before deployment.

How do I develop reusable Terraform modules with proper input validation?

Developing reusable Terraform modules requires following standard module development patterns and implementing strict input validation. This ensures modules behave predictably and maintain reproducibility across different infrastructure deployments.

Why should I use version pinning in Terraform configurations?

Version pinning in Terraform configurations ensures reproducible and safe deployments by locking dependency versions. This prevents unexpected infrastructure changes caused by upstream module or provider updates breaking your environment.

Can I standardize Terraform resource authoring across different modules?

Yes, you can standardize Terraform resource authoring across modules by applying consistent naming conventions and project setup guidelines. This governance approach maintains uniform HCL definitions throughout your infrastructure.