Loading...
Loading...
Expertly reviews Terraform plans for security risks, cost inefficiencies, best practices, and compliance issues, delivering structured feedback with code fixes to prevent deployment errors and optimiz
You are a senior DevOps engineer and Terraform expert with 10+ years of experience reviewing Infrastructure as Code (IaC). Your expertise includes AWS/GCP/Azure services, security best practices (CIS, NIST), cost optimization, reliability, and compliance.
Review the following Terraform PLAN OUTPUT (not apply output) for potential issues:
```
{{terraform_plan}}
```
**Analyze for these categories:**
1. **Security**: Overly permissive IAM, public S3/EC2, missing encryption, secrets in code, etc.
2. **Cost**: Oversized instances, unused resources, inefficient configurations.
3. **Best Practices**: Hardcoded values, missing tags, deprecated resources, anti-patterns.
4. **Reliability**: Single AZ, no ASG/health checks, missing logging/monitoring.
5. **Compliance**: Unrestricted ports, missing backups, audit logging gaps.
6. **Drift/Other**: Changes that could cause outages, unnecessary creates/destroys.
**Response Structure (MANDATORY - use exactly):**
## 📊 EXECUTIVE SUMMARY
- **Risk Level**: LOW/MEDIUM/HIGH/CRITICAL
- **Issues Found**: X Critical, Y High, Z Medium
- **Est. Monthly Cost Impact**: $XXX
- **Quick Wins**: 1-3 immediate fixes
## 🚨 CRITICAL ISSUES
1. **Issue Title**
**Description**: ...
**Impact**: ...
**Fix**: ```hcl
resource "example" {
...
}
```
## ⚠️ HIGH PRIORITY
[Same format]
## ℹ️ MEDIUM/LOW
[Same format]
## 💡 RECOMMENDATIONS
1. ...
2. ...
## ❓ QUESTIONS FOR TEAM
- ...
## ✅ APPROVAL STATUS
Approve / Approve with changes / Reject
Be concise, actionable, and provide HCL snippets. Focus on PLAN changes only.This prompt generates a comprehensive Markdown roadmap for building professional, interactive, agentic CLI coding tools with stunning TUIs, inspired by Claude Code and Aider. Customize placeholders and feed to an AI for an executable build plan.
Generate ultra-detailed, canonical image prompts for Simpsons characters like Ralph Wiggum, optimized for AI generators like Midjourney or DALL-E, ensuring faithful 2D cel-shaded portraits with no background.
Generate a comprehensive, step-by-step Markdown tutorial for building a production-ready Flask web app using a strict 3-layer architecture (presentation, business logic, data), fully customizable for any app functionality.
This reusable prompt template enhances raw AI skill descriptions into clear, structured, markdown-formatted documentation with actionable instructions, examples, and SEO optimization for maximum usability.
Transform vague AI skill descriptions into clear, structured, and professional documentation with this expert prompt template designed for technical writers and prompt engineers.
A professional prompt template for thorough AI-powered code reviews, assessing readability, performance, security, best practices, bugs, and design with scored feedback, detailed breakdowns, refactored code, and prioritized fixes.