driftctl

Detect, track and alert on infrastructure drift in IaC

brewmacoslinux
Try with needOr install directly
Source

About

Detect, track and alert on infrastructure drift

Commands

driftctl

Examples

Scan AWS infrastructure and compare with Terraform state$ driftctl scan --from tfstate://terraform.tfstate
Generate a JSON report of detected drift$ driftctl scan --from tfstate://terraform.tfstate --output json > drift-report.json
Scan specific AWS resources and filter results$ driftctl scan --filter 'Type==aws_s3_bucket' --output console