Interview Prep/Terraform/Lifecycle, Dependencies, Provisioners and Drift

What is configuration drift and how does it happen?

BeginnerConceptLifecycle, Dependencies, Provisioners and Drift
Answer

Drift is when real infrastructure differs from what Terraform state and code say. Causes: manual console changes, other automation (autoscaling, operators), emergency fixes and provider-side changes. Drift is silent until the next plan, which is why detection should be scheduled.

All Terraform questions Roadmap: Terraform in production

More on Lifecycle, Dependencies, Provisioners and Drift