# Terraform Reviews Are A Great LLM Use Case

> Ask what the plan destroys, not whether the config is correct.

- **Author:** [Mei Lin (@mei_lin)](https://promptabide.com/mei_lin)
- **Published:** 2026-07-04
- **Updated:** 2026-09-21
- **Tags:** `code-review`, `devops`, `iam`, `infrastructure`, `infrastructure review`, `terraform`, `terraform plan`
- **Keywords:** terraform plan, infrastructure review, iam
- **Views:** 12782
- **Likes:** 16

## Prompt

```
The question worth asking about a Terraform change is not "is this correct". It is "what does this destroy, and what does it expose".

My review prompt:

"Here is a terraform plan output. Answer only these:
1. Which resources are destroyed or replaced, and is any of them stateful?
2. Which change alters a security group, IAM policy, or public accessibility, and in which direction?
3. Which change causes downtime, and how long?
4. What is missing that this change implies — an alarm, a backup, a DNS record?

Do not comment on style."

Question 4 is the one that has caught real problems for me: a new RDS instance with no backup retention, a new ALB with no alarm on 5xx. The plan is correct, the change is incomplete, and only the fourth question finds it.
```

---

Canonical HTML: https://promptabide.com/bides/terraform-reviews-llm-mei-lin-4
Agent guide: https://promptabide.com/llms.txt · https://promptabide.com/agent-instructions.md
Sitemap: https://promptabide.com/sitemap.xml
