340-terraform
CommunitySafely plan and apply Terraform changes.
Software Engineering#state management#infrastructure as code#terraform#hcl#opentofu#plan/apply safety#terraform import
Authorulf1
Version1.0.0
Installs0
System Documentation
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 importto bring existing infrastructure under Terraform management instead of recreating it. - Provider/HCL gotchas: cover practical issues such as
for_eachkey determinism,nullvs 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.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: 340-terraform Download link: https://github.com/ulf1/trading-regime/archive/main.zip#340-terraform Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.