Use it when
Infrastructure must be reproducible across environments and changes need an audit trail.
Key ideas
- Declarative configuration
- Reusable modules
- Remote state
- Plan before apply
- Drift management
Working loop
- Model the desired infrastructure
- Review a generated plan
- Apply through automation
- Verify outcomes
- Detect and resolve drift