Prompt
Do I need drift detection if I already use Git for changes?
Latest observation
Oct 25, 2026
OpenAI APIWeb search: off
Yes—usually you still want drift detection, even if Git is your source of truth.
Git helps with intended change management:
- version history
- reviews and approvals
- rollbacks
- reproducible deployments
Drift detection helps with actual state vs. desired state:
- someone changes something directly in production
- manual hotfixes aren’t committed back to Git
- cloud services mutate resources automatically
- external systems or operators modify config outside your pipeline
- deployments fail partially, leaving resources out of sync
In short
- Git answers: “What should the system look like?”
- Drift detection answers: “Does it actually look like that right now?”
When drift detection matters most
It’s especially useful for:
- infrastructure as code environments
- Kubernetes clusters
- cloud resources like IAM, networking, databases, security groups
- regulated or audited environments
- teams where manual changes sometimes happen
When Git alone may be enough
If you have very strong controls and:
- no manual changes are allowed
- everything is deployed only through automation
- your platform is immutable or frequently recreated
- you fully trust your pipeline to prevent out-of-band changes
Even then, drift detection is often a good safety net.
Practical recommendation
Use both:
- Git to define and review desired state
- Drift detection to catch out-of-band changes and configuration drift
If you want, I can also help you decide whether drift detection is worth it for your specific setup, like Kubernetes, Terraform, or cloud IAM.
Brands