terraform-infrastructure
Installation
SKILL.md
Terraform Infrastructure
Preserve state integrity and make the smallest safe infrastructure change.
Workflow
- Inspect required versions, providers, modules, backends, lock file, workspace/environment strategy, and repository conventions.
- Identify the desired resource lifecycle and whether existing objects or addresses must be preserved.
- Prefer typed variables, validation, meaningful outputs, provider constraints, and small cohesive modules.
- Run formatting and static validation, then provider-specific lint, security, policy, and tests already used by the project.
- Produce a saved or CI-recorded plan. Read every create, update, replace, delete, unknown, and sensitive-value implication.
- For refactors, use
moved,import, or state operations deliberately; back up and lock state before exceptional state manipulation. - Apply only after approval in the intended account, project, subscription, region, and workspace.
- Verify the real resource, outputs, health, policy, drift, and rollback or recovery path.