infracost_output
Combine and format Infracost JSON files to merge multiple cost estimates or convert between different output formats for cloud infrastructure cost analysis.
Instructions
Combine and format Infracost JSON files. Useful for merging multiple cost estimates or converting formats. Requires infracost CLI to be installed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to Infracost JSON file(s) - supports glob patterns | |
| format | No | Output format | |
| outFile | No | Save output to a file | |
| fields | No | Fields to include in output (e.g., ["price", "monthlyQuantity"]) | |
| showSkipped | No | Show skipped resources in output |
Input Schema (JSON Schema)
{
"properties": {
"fields": {
"description": "Fields to include in output (e.g., [\"price\", \"monthlyQuantity\"])",
"items": {
"type": "string"
},
"type": "array"
},
"format": {
"description": "Output format",
"enum": [
"json",
"table",
"html",
"diff",
"github-comment",
"gitlab-comment",
"azure-repos-comment",
"bitbucket-comment"
],
"type": "string"
},
"outFile": {
"description": "Save output to a file",
"type": "string"
},
"path": {
"description": "Path to Infracost JSON file(s) - supports glob patterns",
"type": "string"
},
"showSkipped": {
"description": "Show skipped resources in output",
"type": "boolean"
}
},
"required": [
"path"
],
"type": "object"
}