terraform_plan_review
Review a Terraform or OpenTofu plan exported as JSON to flag stateful-resource deletions, public exposure, disabled encryption, literal credentials, broad policies, and unpinned providers.
Instructions
Review a Terraform or OpenTofu plan exported as JSON (terraform show -json): deletions and replacements of stateful resources, public exposure, disabled encryption, literal credentials, broad policies and unpinned providers. Any provider; heuristic.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"plan": "<plan>"
},
"name": "terraform_plan_review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gate | No | ||
| kind | No | ||
| actions | No | ||
| sources | No | ||
| summary | No | ||
| findings | No | ||
| resources | No | ||
| validated | No | ||
| limitation | No | ||
| limitations | No | ||
| terraformVersion | No |