> ## Documentation Index
> Fetch the complete documentation index at: https://docs.envzero.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Drift Remediation Keep Your Infrastructure Aligned with Your Code

> Reconcile infrastructure drift in env zero automatically or manually, reapplying IaC at the project or environment level while respecting all approval policies.

Drift Remediation is a capability that reduces the time required to reconcile infrastructure drift and keep your infrastructure consistent with its intended configuration.

Automatic Drift Remediation can be configured to either reapply the IaC configuration or accept changes made outside of IaC management (the latter option will be available soon).

The automation can be set at both the project and environment levels and will adhere to all approval processes, security policies, and compliance requirements already configured within your env zero account.

<Frame>
  <img src="https://mintcdn.com/envzero-b61043c8/BZYthPtvpSdQtcKJ/images/changelogs/2025/02/ed1613488c4b718336e8f6d2797507de46a656090354cb88de6fe20cb9390be7-image.png?fit=max&auto=format&n=BZYthPtvpSdQtcKJ&q=85&s=e456171c51f9991f63258e6230de45a2" alt="Feature demonstration screenshot showing new functionality" width="2624" height="1220" data-path="images/changelogs/2025/02/ed1613488c4b718336e8f6d2797507de46a656090354cb88de6fe20cb9390be7-image.png" />
</Frame>

To enhance control, you can also opt to manually reconcile drift using the newly added 'Remediate Drift' button. There you can choose between the same two reconciliation options; 'Code to Cloud' and 'Cloud to Code', as shown below:

<Frame>
  <img src="https://mintcdn.com/envzero-b61043c8/BZYthPtvpSdQtcKJ/images/changelogs/2025/02/6bdd8cff11a32b25ca5569a015b0bda8eb20748724457042c14e9f247ea73b63-image.png?fit=max&auto=format&n=BZYthPtvpSdQtcKJ&q=85&s=e6e88995cb0e2dca1e3489638311ec1a" alt="Feature demonstration screenshot showing new functionality" width="1479" height="251" data-path="images/changelogs/2025/02/6bdd8cff11a32b25ca5569a015b0bda8eb20748724457042c14e9f247ea73b63-image.png" />
</Frame>

Visit [here](/guides/admin-guide/environments/drift-detection/automatic-drift-remediation) to learn more about Drift Remediation.
