infracost_diff
Compare infrastructure cost changes between current IaC and planned updates. Identify cost impact before merging pull requests.
Instructions
Show cost diff between current IaC and planned changes. Useful for pull request reviews to understand cost impact.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to the Terraform/IaC directory or plan JSON file. | |
| apiKey | No | Infracost API key. | |
| format | No | Output format: table, json, html, diff, github-comment, etc. | table |
| showSkus | No | Show SKU details. | |
| compareTo | No | Path to baseline Infracost JSON for comparison. | |
| extraArgs | No | Additional CLI arguments. | |
| usageFile | No | Path to Infracost usage file. | |
| configFile | No | Path to Infracost config file. | |
| syncUsageFile | No | Sync usage file with missing resources. | |
| timeoutSeconds | No | Command timeout in seconds. | |
| workingDirectory | No | Directory where the command is executed. Defaults to current directory. | |
| terraformPlanFlags | No | Flags to pass to 'terraform plan'. | |
| terraformWorkspace | No | Terraform workspace to use. |