terraform - Terraform / OpenTofu Operations
Safely run, inspect, and repair Terraform and OpenTofu infrastructure across module, state, plan/apply, drift, and upgrade lifecycles.
Tags
Updated: 2026-09-23Capabilities
Typical Inputs
What this skill does
- Analyze module structures and state files
- Generate plan diff summaries
- Apply gated infrastructure changes
- Detect and investigate infrastructure drift
- Manage state backends and locks
- Execute module upgrades and refactorings
- Diagnose operational and state errors
Inputs
- Terraform or OpenTofu CLI binaries
- Module configuration files
- State files and backend configurations
- tfops script
Outputs
- Infrastructure plan diff summaries
- Mutated infrastructure resource states
- Updated state files and locks
- Diagnostic doctor JSON reports
Requirements
- Terraform CLI 1.5+ or OpenTofu CLI 1.6+
- Python 3.8+
- Backend storage and cloud API permissions
