What problem does it solve?
Unaudited Terraform infrastructure-as-code often contains undetected security vulnerabilities, cost inefficiencies, poor code quality, and architectural flaws that can lead to cloud outages, unexpected spend spikes, compliance violations, and technical debt in AWS environments.
Core Features & Use Cases
- 4-Dimension Comprehensive Audit: Evaluates Terraform codebases across security & compliance (aligned with CIS AWS Foundations Benchmark), cost optimization, code quality, and architecture design (aligned with AWS Well-Architected Framework), with a primary focus on AWS resources.
- Severity-Classified Reporting: Generates a structured Markdown report with all findings sorted by Critical, Important, and Minor severity, including affected file locations, risk explanations, and actionable HCL remediation code.
- Scale-Adaptive Workflow: Automatically adjusts audit strategy based on project size (small <10 .tf files, medium 10-30, large 30+), prioritizing high-risk modules for large codebases.
- Use Case: Ideal for engineering, DevOps, and SRE teams to run pre-deployment reviews, enforce infrastructure compliance standards, and identify cost-saving opportunities before provisioning AWS resources.
Quick Start
Use the terraform-audit skill to scan your Terraform project root and generate a full prioritized audit report of all security, cost, code quality, and architecture findings with fix recommendations.