sethbacon/Terraform drift report

Parse a Terraform/OpenTofu plan JSON into drift counts and a changed-resource summary; optionally POST to a TSM callback.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
plan-json-filePath to the plan JSON (output of `terraform show -json` / `tofu show -json`).yes
module-manifestPath to the resolved module lockfile for locked versions.no.terraform/modules/modules.json
include-module-provenanceInclude module_calls (+ module_locks) in the report/callback.notrue
fail-on-driftFail the step when drift is detected.nofalse
detailFree-text run label forwarded as the callback `detail` field.no""
callback-urlTSM drift callback URL. POST happens only if url and token are both set.no""
callback-tokenPer-run one-shot TSM callback token (sent as X-TSM-Callback-Token).no""
reject-unauthorizedVerify TLS on the callback (set false only for a private-CA endpoint).notrue
namedescription
drifted"true" when any non-no-op, non-read change was planned.
addedCount of resources whose plan contains a create.
changedCount of resources whose plan contains an update.
destroyedCount of resources whose plan contains a delete.
summary-filePath to the written JSON report (the exact callback body).