
.png)
Drift happens. And while detecting it is important, it’s only the beginning.
What teams really need is to understand why their infrastructure drifted in the first place. Was something changed manually? Did a version update introduce differences? Did new code get merged but never applied? Without answers, drift is just noise—and resolving it takes time.
Drift Cause Analysis brings clarity to that moment.
env0 leverages AI to identify the most likely reason behind each drifted resource—based on context from your environment, code, and history—so you can move from detection to action with confidence.
How it works
Drift Cause Analysis automatically evaluates each drift event using data from your environment, deployment history, version control, and IaC configuration. With that context, env0 applies AI-powered analysis to determine the most likely reason for the drift—no manual investigation required.
Based on this analysis, env0 can identify scenarios such as:
- Manual changes made directly in the cloud console
- Version updates to Terraform providers or modules that altered resource behavior
- Changes in input variables that impacted the infrastructure
- Code that was merged to version control but never applied
- External modifications to the state file, including remote apply or import actions
You’ll see the root cause of drift right where you review environments and deployments. For each drifted resource, env0 shows the most likely reason it happened, along with a short explanation. You can expand to see which other possible causes were checked so you know exactly how the conclusion was reached.

If Cloud Compass is enabled, you can click the “more details” button and see the cloud event that triggered the change—what it was and who made it, including the detailed cloud logs if needed.

To remediate the drift, you can use the Redeploy Environment button to re-apply your code and bring the infrastructure back in sync.
Why It Matters
Drift Cause Analysis helps you go from detection to resolution faster by giving you the context you need to take the right next step.
- See the why, not just the what – Drift Cause Analysis adds the missing context behind every drifted resource.
- Save time on investigation – Skip digging through logs, plans, and commits. The most likely cause is surfaced for you.
- Take action with confidence – Apply the drifted state, discard it to match your code, or leave it as-is if intentional.
From Detection to Resolution
Drift Cause Analysis is now available for all customers using env0. It works automatically across Terraform, Terragrunt, and OpenTofu environments, no additional setup required.
With this release, drift management in env0 is complete:
- Drift detection highlights any differences between your deployed infrastructure and the intended configuration
- Drift Cause Analysis explains why drift happened, so you can make informed decisions
- Drift remediation gives you the tools to apply, discard, or ignore drift directly from env0
From identifying the issue to resolving it, everything happens in one place, offering you the context to move fast and the confidence to get it right.
To see our drift management capabilities in action, schedule a demo.