drifthoundhq/DriftHound Drift Detection

Run Terraform/OpenTofu/Terragrunt drift detection and report to DriftHound

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Dec 21, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: drifthoundhq/drifthound-action@af03730b242c763b6a46c25a1856bce388ff9d9b # v1.0.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
drifthound-urlDriftHound API URLyes
drifthound-tokenDriftHound API tokenyes
config-filePath to drifthound.yaml configuration filenodrifthound.yaml
scopeSpecific scope name to run (optional, runs all if not specified)no
scope-filterComma-separated list of scope names to run (optional, runs all if not specified)no
environmentFilter scopes by environment field (e.g., production, staging, development)no
fail-on-driftFail the workflow if drift is detectednofalse
cli-versionVersion of drifthound-cli to install (branch, tag, or commit SHA)nomain
cli-repoRepository containing drifthound-clinodrifthoundhq/DriftHound
working-directoryWorking directory to run the action fromno.
namedescription
drift-detectedWhether drift was detected (true/false)
resultsJSON summary of drift check results
scopes-runNumber of scopes executed
scopes-with-driftNumber of scopes with drift detected