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.
More on Lifecycle, Dependencies, Provisioners and Drift
What are meta-arguments?BeginnerWhat lifecycle options are available?BeginnerHow does `create_before_destroy` work and what can go wrong?AdvancedWhat does `prevent_destroy` guarantee and what does it not?AdvancedWhen do you use `ignore_changes`?IntermediateWhat does `replace_triggered_by` do?Advanced