detecting-infrastructure-drift

Detect infrastructure drift between current state and desired configuration.

2.6k|379|Updated Oct 10, 2025
One-click install
npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus --skill detecting-infrastructure-drift
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: detecting-infrastructure-drift
Source: https://github.com/jeremylongshore/claude-code-plugins-plus/tree/main/plugins/devops/infrastructure-drift-detector/skills/infrastructure-drift-detector
Command: npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus --skill detecting-infrastructure-drift

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill empowers Claude to identify and report on deviations between the current state of your infrastructure and its defined desired state. By leveraging the drift-detect command, it provides insights into configuration inconsistencies, helping maintain infrastructure integrity and prevent unexpected issues.

Core Features & Use Cases

  • Drift Detection: Automatically identify discrepancies between actual and desired infrastructure states.
  • Configuration Change Reporting: Detail affected resources and configuration differences.
  • Infrastructure Consistency: Ensure your infrastructure-as-code remains aligned with deployed resources.
  • Use Case: Regularly check your production environment for infrastructure drift to ensure all configurations match your Terraform definitions.

Quick Start

User request: "Check for infrastructure drift in my production environment."

The skill will:

  1. Execute the drift-detect command.
  2. Present a report detailing any detected drift, including resource changes and configuration differences.

Frequently Asked Questions about detecting-infrastructure-drift

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

FAQPage Schema
How do I detect infrastructure drift in my Terraform environment?

Infrastructure drift detection identifies discrepancies between your actual deployed resources and their desired state defined in Terraform. Use the drift-detect command to automatically compare current infrastructure against your IaC configuration and receive a detailed report of differences.

What is infrastructure drift and why does it matter?

Infrastructure drift occurs when deployed resources diverge from their intended configuration due to manual changes, updates, or configuration drift. Detecting drift maintains consistency, prevents unexpected behavior, and ensures your infrastructure-as-code remains the source of truth for compliance and stability.

Can I use drift detection with Ansible and other IaC tools?

Yes, drift detection applies to IaC-managed environments including Terraform, Ansible, and similar tooling. The skill works across infrastructure-as-code platforms to identify configuration inconsistencies and maintain consistency across your deployment stack.

How do I check for infrastructure drift in production?

Regularly execute drift-detect commands on your production environment to identify configuration changes and deviations. The skill generates drift reports enumerating affected resources, configuration differences, and recommended remediation steps to restore consistency.

What happens if drift detection finds configuration differences?

Drift detection produces a delta-oriented report detailing deviations between current and desired states, listing affected resources and their specific configuration differences. The report includes recommended remediation steps to realign your infrastructure with its defined configuration.

Can I use drift detection before deploying infrastructure changes?

Yes, drift detection serves as pre-deployment validation to ensure your current infrastructure aligns with desired configuration before pushing changes. This prevents deployment conflicts and maintains configuration integrity throughout your DevOps workflow.