Skip to content

Drift Detection

Medium — good to knowCloud & Infra

ELI5 — The Vibe Check

Drift detection is the process of comparing what your infrastructure actually looks like versus what your code says it should look like. Run terraform plan and see a bunch of unexpected changes? That's drift detection at work. It's the infrastructure equivalent of 'spot the difference' — except the differences might be security holes.

Real Talk

Drift detection compares the actual state of infrastructure resources against the expected state defined in IaC templates. Tools include Terraform's state comparison (terraform plan), AWS CloudFormation drift detection, and third-party solutions like Driftctl and Spacelift. Continuous drift detection can be automated via CI/CD pipelines.

When You'll Hear This

"Our pipeline runs drift detection daily and alerts if anything changed." / "CloudFormation drift detection found three resources that were manually modified."

Made with passive-aggressive love by manoga.digital. Powered by Claude.