Process Flow - Drift detection in CI/CD
Start CI/CD Pipeline
Run terraform plan
Compare current infra vs code
Is there drift?
No→Continue deployment
Yes
Alert or fail pipeline
Fix drift manually or update code
Re-run pipeline
The pipeline runs terraform plan to compare real infrastructure with code. If differences (drift) exist, it alerts or stops deployment until fixed.