What problem does it solve?
This skill prevents risky infrastructure changes by guiding you through Terraform’s declarative workflow and state-safe practices, so you avoid plan drift, accidental replacements, and common HCL/provider pitfalls.
Core Features & Use Cases
- Terraform-safe change workflow: write/edit HCL, format, validate, generate a plan, apply the exact plan, and commit lock/state-related inputs for reproducibility.
- Refactoring and review guidance: interpret plan symbols (+, -, ~, -/+) and focus on the specific resources/attributes affected to minimize blast radius.
- State and import correctness: use import blocks or
terraform import to bring existing infrastructure under Terraform management instead of recreating it.
- Provider/HCL gotchas: cover practical issues such as
for_each key determinism, null vs empty strings, sensitive data handling, and provider version attribute changes.
- Use-case examples: environment-per-directory structure (no workspaces), modular design principles, and testing/policy-as-code suggestions for catching issues before apply.
Quick Start
Use the 340-terraform skill to review your Terraform plan for potential force-replacements and tell you exactly what to change before you apply.