infiniumtek / terraform-review-agent
PublicReusable GitHub Action that reviews Terraform PRs for security, cost, and style using a LangGraph multi-agent system, posting a single severity-ranked comment.
This is a GitHub Actions workflow that automatically reviews Terraform pull requests using AI. When a developer opens a PR with infrastructure code changes, three specialist agents run in parallel to check for security vulnerabilities, cost implications, and code style issues. The results are combined into a single, severity-ranked comment on the PR that updates automatically with each push. The tool can optionally block merges based on severity thresholds, helping teams maintain secure and cost-efficient infrastructure.
How It Works
You hear about a tool that can automatically check your infrastructure code for security issues, cost problems, and style violations right in your pull requests.
You create a simple workflow file in your repository that connects to this review service, specifying which AI to use and what severity level should block a merge.
When you submit your infrastructure changes, the review automatically kicks off in the background without any extra work from you.
Scans for exposed secrets, insecure configurations, and access control issues
Estimates how your changes will affect your monthly cloud bill
Checks for consistent formatting and best practices
All findings are combined into one organized comment, ranked by severity from critical down to low, with direct links to the exact lines that need attention.
You address the flagged issues, push your fixes, and the comment updates automatically. Once everything passes, your team can merge knowing the infrastructure is secure and cost-efficient.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.