driftctl

The open-source tool for infrastructure drift detection.

Visit Website →

Overview

driftctl is a free and open-source command-line interface tool that specializes in detecting drift between your Infrastructure as Code (IaC) and the actual state of your cloud resources. It scans cloud provider APIs and compares the live environment with your Terraform state files to identify discrepancies, including unmanaged resources (those created outside of IaC) and configuration changes to managed resources. It supports major cloud providers like AWS, Azure, and Google Cloud.

✨ Key Features

  • Drift Detection for Managed Resources
  • Unmanaged Resource Detection
  • IaC Coverage Analysis
  • CI/CD Integration
  • Multiple Output Formats (JSON, HTML, etc.)
  • Customizable Filtering and Ignoring Resources

🎯 Key Differentiators

  • Open-source and free.
  • Focuses specifically on drift detection and IaC coverage.
  • Provider-agnostic within supported clouds.
  • Detects unmanaged resources, which many built-in tools do not.

Unique Value: Provides a simple, fast, and extensible way to manage infrastructure drift as code, completely for free.

🎯 Use Cases (4)

Detecting unmanaged infrastructure resources Ensuring infrastructure state matches IaC definitions Auditing cloud security and compliance Automating drift detection in CI/CD pipelines

✅ Best For

  • Continuous monitoring of infrastructure drift
  • Security auditing for unauthorized changes

💡 Check With Vendor

Verify these considerations match your specific requirements:

  • Real-time infrastructure provisioning
  • Cost management

🏆 Alternatives

Terraform Cloud Spacelift env0 CloudQuery

Unlike managed platforms, it's a lightweight CLI that can be easily integrated anywhere without vendor lock-in.

💻 Platforms

Desktop (CLI) API

🔌 Integrations

AWS Google Cloud (GCP) Azure GitHub

💰 Pricing

Contact for pricing
Free Tier Available

Free tier: Fully open-source and free.

Visit driftctl Website →