terraform-patterns
Installation
SKILL.md
Terraform Patterns
Infrastructure as Code: describe desired state → Terraform plans the diff → apply. Never manually change infrastructure that Terraform manages.
When to Activate
- Provisioning any cloud resource (compute, databases, networking, IAM)
- Setting up remote state backend for a team
- Creating reusable infrastructure modules
- Migrating manually-created resources under Terraform control
- Reviewing infrastructure changes in CI/CD
- Structuring multi-environment infrastructure (dev, staging, prod) with separate state files
- Debugging a
terraform planthat shows unexpected resource replacements or drift - Enforcing IAM least-privilege policies for ECS task roles or Kubernetes workloads