Terraform: state drift detection?

Started by Paul Davis, Nov 01, 2024, 12:00 AM

Previous topic - Next topic

Paul Davis

Is there a way to auto-detect config drift in Terraform without using cloud-native tools? Like for on-prem stuff.

geek

You can use `terraform plan -detailed-exitcode` in a nightly cron + send alert if exitcode == 2.