Terraform Skill
Purpose
Guide safe infrastructure-as-code changes using Terraform/OpenTofu best practices.
Inputs
- IaC module or environment target
- provider and backend configuration
- policy/security constraints
Process
- Read current module patterns and state implications.
- Implement minimal, reviewable IaC changes.
- Run
fmt,validate, and plan checks. - Add or update tests (native tests or Terratest when needed).
- Report security and drift considerations.
Output Format
- changed modules/resources
- validation and plan summary
- risk notes and rollout guidance
Quality Checks
-
fmtandvalidateperformed - Plan output reviewed for unintended changes
- Sensitive values are not exposed in code or logs
Source: dtsong/my-opencode-codex-setup — distributed by TomeVault.