Prompt
IaC tool with drift detection and locking
Latest observation
Oct 25, 2026
OpenAI APIWeb search: off
If you’re looking for an IaC tool that supports drift detection and state locking, the most common choice is Terraform.
Terraform
- Drift detection:
terraform plancompares the desired config with real infrastructure and shows differences. - State locking: supported via backends like:
- AWS S3 + DynamoDB
- Terraform Cloud/Enterprise
- other remote backends that support locking
Other options
- Pulumi: supports drift detection in some workflows and uses backend/state management, but locking depends on the backend.
- CloudFormation: has drift detection, but locking is not usually described in the same way as Terraform state locking.
- OpenTofu: Terraform-compatible fork, also supports drift detection and state locking via compatible backends.
If you want, I can give you:
- a comparison table of tools, or
- the best tool for AWS / Azure / GCP.