Config Drift Detection

Drift between repo and runtime.

What config drift is

Config drift is when live infrastructure differs from the IaC source of truth. The git repo says one thing, the cloud says another, and recovery plans built on "we will redeploy from Terraform" silently fail because the live state was never what git described.

How to detect drift

Detection options span tools. Terraform plan in CI is the cheapest baseline; drift-detection products add coverage for resources Terraform does not manage; cloud-native rules cover the gaps.

Drift response

Response is decision-driven. Tier-1 drift earns same-day alerts; every drift event gets classified as intentional, accidental, or hostile; classification drives the action.

Drift prevention

Prevention is harder than detection. Break-glass console access, read-only IAM by default, and policy enforcement together prevent most drift; you cannot fix the cultural patterns without the technical guardrails.

How to deploy drift detection

Deploy in stages. Detection first to build confidence in the signal; enforcement second once detection is proven; track drift count over time as the operational metric.