Drift

A Maintained driftctl Alternative That Also Finds Unmanaged AWS Resources

driftctl is no longer actively developed. cloud-drift-report is a free, open-source CLI that reports Terraform, OpenTofu and CloudFormation drift and lists AWS resources no IaC knows about. What it does, how it works, and where it stops.

2026-11-22 · 5 min read

driftctl was the free tool most teams reached for when they wanted to know two things: what changed outside Terraform, and what exists in the cloud account that Terraform never knew about. It is no longer actively developed, and new AWS resource types and provider versions have moved on without it.

We built cloud-drift-report to cover both jobs again. It's free, open source (Apache-2.0), read-only, and installs with one command:

pip install cloud-drift-report

This post explains what it checks, why it's much smaller than driftctl, how it compares, and where it stops.

What it checks

ModeFindsHow
terraformResources changed or deleted outside Terraform or OpenTofu, on any cloudRuns plan -refresh-only -lock=false and reads the result
cloudformationStack resources changed or deleted outside CloudFormationRuns CloudFormation drift detection
unmanagedAWS resources that no Terraform state or CloudFormation stack listsLists the account and compares it with your state files and stacks
# Drift in a Terraform/OpenTofu directory (already initialised)
cloud-drift-report terraform --dir ./infra --format html -o drift.html

# Drift in every CloudFormation stack in a region
cloud-drift-report cloudformation --region us-east-1

# Everything in us-east-1 that no state file under the prefix (or any stack) covers
cloud-drift-report unmanaged --region us-east-1 --state s3://my-tf-state/prod/

Every finding gets a severity (security groups, IAM, KMS, public access and encryption are high; tag-only changes are low) and a plain-English guess at what happened, for example "Security group rule edited outside IaC and now open to the internet (0.0.0.0/0 or ::/0)." Reports come out as Markdown, CSV, JSON or a single HTML page.

Why it's a few files, not a few hundred

driftctl had to build everything itself: a scanner for each resource type, readers for each state backend, and its own engine for comparing live values with state, with special cases per type. cloud-drift-report hands those jobs to tools that now do them well:

  • Comparing live resources with state: Terraform and OpenTofu do this themselves with plan -refresh-only, using the same provider code that manages the resource. That feature arrived in Terraform 0.15.4, after driftctl was designed.
  • CloudFormation: AWS runs the comparison on its side.
  • Listing the account: the AWS Cloud Control API lists about 150 resource types through one call shape. cloud-drift-report adds small native listers where Cloud Control can't tell an AWS default from yours, for example the default VPC, service-linked IAM roles and AWS-managed KMS keys, so those never show up as findings.

The listing rules come from OrchesTerra's own drift scanner, simplified to run as a single command.

driftctl vs cloud-drift-report

driftctlcloud-drift-report
StatusNo longer actively developedMaintained
Managed drift (Terraform)Its own comparison engineplan -refresh-only (Terraform or OpenTofu, any provider)
CloudFormation driftNoYes
Unmanaged resourcesAWS, GCP, Azure, GitHubAWS (about 170 types); other clouds planned
State sourcesS3, GCS, Azure Blob, HTTP, Terraform Cloud and othersLocal files and S3 directly; any backend through state pull in your directory
Ignore file.driftignoreNot yet
OutputConsole, JSON, HTMLMarkdown, CSV, JSON, HTML, ranked by severity
Ships asCLICLI, GitHub Action, Claude skill, Cursor rule

If you depend on driftctl's GCP, Azure or GitHub coverage, cloud-drift-report doesn't replace that yet.

In CI

The GitHub Action posts the report on the run's summary page, keeps the HTML report as an artifact, and fails the job when something drifted:

- uses: aws-actions/configure-aws-credentials@v4
  with:
    role-to-assume: arn:aws:iam::123456789012:role/drift-report-readonly
    aws-region: us-east-1
- uses: orchesterra/cloud-drift-report@v0
  with:
    mode: unmanaged
    args: --region us-east-1 --state s3://my-tf-state/prod/

It needs only read access: the AWS managed ReadOnlyAccess policy covers every call, plus cloudformation:DetectStackDrift for CloudFormation drift.

Where it stops

cloud-drift-report is a one-off check. It tells you what is wrong in one account and region per run. It doesn't:

  • run on a schedule across many accounts, or keep history
  • alert anyone
  • fix anything: no restore, no import, no approvals

That's deliberate. Those are the parts of drift management that need a system of record and an approval trail, which is what OrchesTerra does: continuous scans across AWS accounts, one-click restore, accept or adopt for each finding, and an approval step before anything changes. You can look around the read-only demo, no sign-up needed, or start a 14-day trial.

Quick checklist

  • Replace a driftctl cron job with cloud-drift-report terraform (managed drift) plus cloud-drift-report unmanaged (resources not in IaC).
  • Point --state at the S3 prefix that holds your state files, so every workspace counts as managed.
  • Use a read-only role, ideally through SSO or CI OIDC, not long-lived keys.
  • Run it in CI with the GitHub Action and fail-on-drift, and review high-severity findings first.
  • Read the report's coverage line: it names the resource types it couldn't list, so you know what wasn't checked.

Platform evaluation

See OrchesTerra on your infrastructure

Request access to generate architecture from a repository, review the plan, and run governed reconciliation across AWS, Azure, GCP, and OCI.