azure-drift-detector

Detect configuration drift between Azure resources and stored IaC state.

267|40|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/Azure/git-ape --skill azure-drift-detector
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-drift-detector
Source: https://github.com/Azure/git-ape/tree/main/.github/skills/azure-drift-detector
Command: npx skills add https://github.com/Azure/git-ape --skill azure-drift-detector

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, az, git, and includes scripts (resource) components.

What problem does it solve?

Drift detection and reconciliation for Azure deployments to ensure the live environment matches the stored IaC state.

Core Features & Use Cases

  • Detect drift across Azure resources (e.g., Function Apps, storage) against .azure/deployments and requirements.json.
  • Provide guided reconciliation options (accept drift, revert, or document) to maintain an auditable baseline.
  • Support scheduled drift checks and pre-deployment validation to prevent conflicts.

Quick Start

Run drift detection for a deployment to compare the live Azure state against the stored deployment state.

Frequently Asked Questions about azure-drift-detector

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect configuration drift on Azure resources deployed with IaC?

Azure drift detection compares live Azure resources against stored IaC state in .azure/deployments and requirements.json. It reports differences by severity and provides guided reconciliation options to accept, revert, or document the drift.

What is the best way to reconcile Azure deployment drift automatically?

The best way to reconcile Azure deployment drift is running drift checks that compare live resources against stored IaC state. You can accept the live state, revert Azure resources to match the state, or document the baseline differences for audit.

Do I need az and jq installed to run Azure drift detection?

Yes, you need az and jq installed to run Azure drift detection. The engine requires these dependencies to query live Azure resources and process the JSON state data stored in .azure/deployments and requirements.json.

Can I run pre-deployment validation to prevent Azure IaC conflicts?

Yes, you can run pre-deployment validation to prevent Azure IaC conflicts. The drift detection engine supports scheduled checks and pre-deployment validation to surface differences between live resources and stored state before applying new changes.

How does drift detection compare live Azure Function Apps against stored state?

Drift detection compares live Azure Function Apps and storage against stored IaC state by evaluating configurations in .azure/deployments and requirements.json. It identifies mismatches, categorizes them by severity, and outputs guided reconciliation decisions.

When should I document configuration drift instead of reverting Azure resources?

You should document configuration drift instead of reverting Azure resources when the live changes are intentional. Documenting maintains an auditable baseline of the accepted differences, while reverting realigns the live Azure environment to the stored IaC state.