terracost_blast_evaluate
Evaluates Terraform plan JSON to calculate infrastructure blast radius, flag high-risk stateful resource destruction, and estimate monthly FinOps cost changes before apply.
Instructions
Evaluates Terraform plan JSON output to calculate infrastructure blast radius, identify high-risk stateful resource destructions (databases, storage buckets), and compute monthly FinOps cost delta estimations. Use when: Pre-apply CI/CD infrastructure reviews, FinOps budget validation, or assessing destruction risk before applying Terraform changes. Do not use when: Linting container configurations or evaluating test flakiness. Alternative: Use dockerlean_wasm_audit for container optimization, or flaky_quarantine_analyze for CI test stability. Execution: Runs locally in-memory (<10ms), read-only, idempotent, zero network calls, zero telemetry, air-gapped deterministic.
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": {
"planJson": "<planJson>"
},
"name": "terracost_blast_evaluate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| planJson | Yes | Valid JSON output generated from 'terraform show -json <planfile>'. | |
| licenseKey | No | Optional TopAI Sovereign Pro offline license key (or set TOPAI_LICENSE_KEY env variable). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| report | Yes | Detailed resource delta counts, stateful destruction alerts, and monthly cost delta. | |
| markdown | Yes | Formatted Markdown summary suitable for CI PR comments. |