TLDR Tech / DevOps
Terraform Cloud Drift Detection: How It Works & Setup
Infrastructure drift commonly occurs in Terraform or OpenTofu environments when real infrastructure diverges from declared state, requiring reconciliation to prevent unintended overwrites during future deployments. Terraform Cloud detects drift by comparing actual resources to state, enabling scheduled checks and alerts, while remediation involves updating code, importing changes, or reverting drift, with tools like Spacelift offering broader, automated detection and workflows.
Read the full story