sharatvikas/Terraform AI Guardian

AI-powered Terraform plan reviewer — flags security risks, blast radius, cost, and org-standards drift before merge

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
plan-filePath to terraform show -json output fileyesplan.json
anthropic-api-keyAnthropic API key for Claude analysisyes
github-tokenGitHub token for posting PR commentsyes${{ github.token }}
fail-on-riskMinimum risk level that causes the action to fail (CRITICAL, HIGH, MEDIUM, LOW)noCRITICAL
standards-filePath to the org standards config. Defaults to auto-discovery of .tf-guardian.yml / .tf-guardian.yaml / .guardian/standards.yaml / standards.yaml in the working directory.no""
max-tokensMaximum tokens for Claude analysis (cost control)no4096
post-commentPost analysis as PR comment (true/false)notrue
slack-webhook-urlSlack incoming webhook URL for review notifications (simple mode, no threading)no""
slack-bot-tokenSlack bot token (xoxb-…) for chat.postMessage delivery. Enables the thread-per-PR convention: repeat reviews of the same PR reply in one thread. Requires slack-channel. Scopes needed: chat:write, channels:history.no""
slack-channelSlack channel ID (e.g. C0123456789) used with slack-bot-tokenno""
slack-dry-runLog the Slack payload instead of sending it (true/false) — useful while wiring credentialsnofalse
namedescription
risk-levelDetected risk level: CRITICAL, HIGH, MEDIUM, LOW, or NONE
critical-countNumber of critical issues found
warning-countNumber of warnings found
standards-violationsNumber of org-standards violations found
monthly-cost-deltaEstimated net monthly cost delta in USD
report-urlURL to the full analysis report