Introduction to Resource Drift and State Refactoring
Detecting and resolving drift between real infrastructure and state, forcing replacement, and refactoring configuration with moved and removed blocks.
- 2 lessons
- Module quiz
Real infrastructure changes outside Terraform, and configurations change shape over time. Terraform provides reviewable ways to handle both.
What the exam expects
Expect questions on refresh-only mode, resolving drift, forced replacement with -replace, and moved and removed blocks compared with the older state commands.
How this module is organized
Detecting and Managing Drift covers drift and replacement. Refactoring with moved and removed Blocks covers refactoring.