estimate_terraform_cost
Estimate AWS cost changes from a Terraform plan before applying. Get per-resource cost delta breakdown for adds, changes, and removes.
Instructions
Estimate the monthly AWS cost change from a Terraform plan BEFORE applying it.
Provide one of:
plan_json: raw JSON string from
terraform show -json plan.tfplanplan_file: path to a saved plan JSON file
tf_dir: directory to run
terraform planin automatically
Returns a cost delta breakdown per resource with adds, changes, and removes. Prices: AWS on-demand us-east-1. Supports EC2, RDS, Aurora, ElastiCache, EKS, NAT Gateways, ALB/NLB, ECS Fargate, Lambda, EBS, OpenSearch, MSK, Redshift.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tf_dir | No | ||
| plan_file | No | ||
| plan_json | No |