For a tool for detecting infrastructure drift, the first results are hashicorp/terraform (Terraform is the core infrastructure-as-code tool that natively compares its state against live resources via plan to detect drift, making it exactly the kind of tool this search is after, though it isn't a specialized standalone drift monitor), opentofu/opentofu and diggerhq/digger (Digger is a GitOps infrastructure automation system and Terraform orchestrator that includes drift detection capabilities, but its primary purpose is orchestrating infrastructure workflows from pull requests and CI, not a dedicated state-drift detection tool). tfsec/tfsec and argoproj/argo-cd round out the shortlist. Compare the match explanations and check the project documentation against your requirements.
Identify discrepancies between your defined Terraform state files and the actual configuration of live infrastructure.
Terraform is a declarative infrastructure-as-code tool designed to manage the lifecycle of cloud and on-premises resources. It functions as a workflow engine that reconciles a defined desired state against real-world infrastructure, using a persistent state-tracking layer to maintain consistency and visibility across distributed environments. By mapping infrastructure components into a directed acyclic graph, the system calculates the optimal order for provisioning, updating, or destroying resources. The platform is distinguished by its extensible plugin-based architecture, which decouples co
Terraform is the core infrastructure-as-code tool that natively compares its state against live resources (via plan) to detect drift, making it exactly the kind of tool this search is after, though it isn't a specialized standalone drift monitor.
OpenTofu is a declarative infrastructure orchestrator that automates the provisioning and management of cloud resources. It functions as a platform-agnostic interface, allowing users to define their desired environment state in configuration files, which the system then reconciles against live infrastructure to calculate and execute necessary updates. The project utilizes a graph-based execution engine to determine the optimal sequence for resource operations, enabling the parallel processing of independent components to reduce deployment times. To support complex, multi-platform environments
OpenTofu is a full Infrastructure as Code orchestrator that inherently detects and reports drift between declared state and live resources during planning, covering all requested features like multi-cloud support, CI/CD integration, workspace management, and the ability to ignore known differences.
Digger is a GitOps infrastructure automation system and Terraform orchestrator. It enables the execution of infrastructure plans and applies directly from version control pull requests and CI pipelines. The project provides a framework for policy-based governance and state management. It enforces role-based access controls and custom security policies on infrastructure changes, while centrally storing state files with version history and access controls. The system manages infrastructure workflows through pull request comment triggers and remote execution. It includes capabilities for drift
Digger is a GitOps infrastructure automation system and Terraform orchestrator that includes drift detection capabilities, but its primary purpose is orchestrating infrastructure workflows from pull requests and CI, not a dedicated state-drift detection tool.
tfsec is a static analysis tool and security scanner for infrastructure as code, specifically designed to detect misconfigurations and compliance violations in Terraform and cloud infrastructure definitions before deployment. It functions as a cloud security policy engine that identifies vulnerabilities across multiple cloud platforms. The tool provides capabilities for cloud compliance auditing and scanning of Cloud Development Kit code. It supports custom security policy enforcement and allows for the definition of organization-specific security requirements. The scanner includes features
tfsec is a static security scanner for Terraform code that checks for misconfigurations before deployment, not a drift detection tool that compares declared state against live cloud resources — the two solve different problems entirely.
Argo CD is a declarative, GitOps-based continuous delivery tool designed for Kubernetes. It functions as a centralized control plane that synchronizes application states from version-controlled repositories directly into target clusters, ensuring that the live environment consistently matches the desired configuration defined in Git. The platform distinguishes itself through its ability to manage multi-cluster deployments from a single interface, providing unified oversight across distinct computing environments. It employs a controller-based reconciliation loop to continuously monitor for co
Argo CD detects drift between Git and live Kubernetes clusters, not between Terraform state and cloud resources, so while it offers drift detection it is built for a different infrastructure stack than the Terraform-focused tool you need.
Pulumi is an infrastructure-as-code framework that enables the definition, deployment, and management of cloud resources using general-purpose programming languages. It functions as a cloud resource orchestrator that coordinates the lifecycle of heterogeneous infrastructure by executing code to construct dependency graphs and reconciling the desired state against actual cloud environments. The platform distinguishes itself through a language-host runtime bridge that allows developers to use standard programming languages to define infrastructure, rather than relying solely on domain-specific
Pulumi is an infrastructure-as-code framework that reconciles desired state with live cloud resources, but it manages its own state through general-purpose languages rather than specifically detecting drift against Terraform state files, so it is a different tool for a similar job rather than the exact category this search targets.
Terrascan is an infrastructure as code security scanner and cloud configuration auditor designed to detect security violations and compliance risks in cloud templates and Dockerfiles before provisioning. It utilizes the Open Policy Agent to evaluate infrastructure templates against both standard security policies and custom organizational rules. The project functions as a security guardrail within build pipelines, blocking risky deployments by integrating scanning logic directly into CI/CD workflows. It also includes a container registry vulnerability scanner that collects vulnerability data
Terrascan is an infrastructure-as-code security scanner that checks templates for compliance risks, not a tool that detects differences between declared Terraform state and live cloud resources, so it does not address state drift detection.
LocalStack is an infrastructure development environment that provides a local simulation of cloud services. By leveraging container-orchestrated service lifecycles, it allows developers to build, test, and debug cloud-native applications on their local machines without requiring remote connectivity or incurring cloud provider costs. The platform distinguishes itself through sophisticated traffic redirection and request routing, which intercept cloud service calls at the network layer and redirect them to local handlers. This enables seamless integration with existing development workflows, al
LocalStack simulates cloud services locally for development and testing, but it does not compare declared Terraform state against live cloud resources or generate drift reports — the core capability you need is missing.
Checkov is a static analysis tool and security scanner designed to identify misconfigurations in infrastructure as code, container images, and Kubernetes configurations. It functions as a cloud security posture tool, an SCA vulnerability scanner, and a secret scanning utility to prevent security breaches and version control leaks. The project distinguishes itself through deep graph analysis and variable resolution, allowing it to map relationships between interconnected resources and evaluate the final state of infrastructure attributes. It provides extensibility for defining custom security
Checkov is a static analysis and security scanner for Infrastructure as Code, not a tool that compares Terraform state to live cloud resources to detect drift—it focuses on misconfigurations in code rather than runtime state differences.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| hashicorp/terraform | 48.7K | Go | NOASSERTION | |
| opentofu/opentofu | 29.2K | Go | MPL-2.0 | |
| diggerhq/digger |
| 5K |
| Go |
| MIT |
| tfsec/tfsec | 7K | Go | MIT |
| argoproj/argo-cd | 22.1K | Go | apache-2.0 |
| pulumi/pulumi | 24.8K | Go | apache-2.0 |
| accurics/terrascan | 5.2K | Go | Apache-2.0 |
| localstack/localstack | 64.4K | Python | other |
| bridgecrewio/checkov | 8.8K | Python | Apache-2.0 |