thomast1906/Terraform AI Plan Review

AI-powered review of Terraform plans using Azure OpenAI or GitHub Models and HashiCorp Terraform MCP Server

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
ai-providerAI provider: "azure" for Azure OpenAI or "github-models" for GitHub Modelsnogithub-models
azure-openai-api-keyAzure OpenAI API keyno
azure-openai-endpointAzure OpenAI endpoint URLno
azure-openai-api-versionAzure OpenAI API versionno2024-02-01
azure-openai-deploymentAzure OpenAI deployment namenogpt-4
github-models-tokenGitHub token for GitHub Models API (can use GITHUB_TOKEN)no
github-models-modelGitHub Models model namenogpt-5
terraform-plan-pathPath to the Terraform plan JSON filenotfplan.json
terraform-directoryDirectory containing Terraform filesno.
github-tokenGitHub token for commenting on PRsyes
disable-pr-commentDisable automatic PR commenting (useful when multiple workflows use the same action)nofalse
analysis-presetAnalysis preset: "security-audit", "cost-optimisation", "production-ready", "quick-check", or "complete". Overrides analysis-focus if set.nocomplete
analysis-focusFocus areas for analysis (comma-separated): security,cost,best-practices,deployment,compliance,performance,reliability,observability,networking,data,governancenosecurity,cost,best-practices,deployment
analysis-modeAnalysis mode: "plan-only" for faster analysis of just the JSON plan, or "comprehensive" for plan + source filesnocomprehensive
analysis-depthAnalysis depth: "quick" for high-level review, "standard" for balanced analysis, or "detailed" for comprehensive examinationnodetailed
analysis-styleAnalysis organisation: "severity" for summary with critical/warnings/recommendations, or "domain" for grouping by focus areasnoseverity
skip-mcp-validationSkip HashiCorp Terraform MCP server validationnofalse
show-mcp-detailsShow detailed MCP server analysis section for troubleshootingnofalse
mcp-server-timeoutTimeout in seconds for MCP server startupno60
enable-data-scrubbingEnable automatic scrubbing of sensitive data (passwords, API keys, secrets) before sending to AInotrue
max-file-size-mbMaximum size per file in MB (prevents processing oversized files)no10
max-total-size-mbMaximum total size of all files in MB (prevents excessive API costs and memory usage)no50
max-filesMaximum number of files to process (prevents resource exhaustion)no100
api-timeout-secondsTimeout for AI API calls in seconds (prevents hanging requests)no120
api-max-retriesMaximum number of API retry attempts with exponential backoffno3
namedescription
analysis-resultThe AI analysis result
has-issuesWhether critical issues were found
recommendations-countNumber of recommendations provided