infracost_generate_usage
Generate a pre-filled Infracost usage file for specified resource types, with sensible defaults. Complements infracost_configure for cost estimation.
Instructions
Generate Infracost usage file with sensible defaults for specified resource types. Complements infracost_configure by providing pre-filled templates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| onlyJson | No | Return only the raw JSON (no guidance). Overrides includeGuidance. Default: false. | |
| resourceTypes | Yes | Resource types to include in usage file (e.g., ["aws_lambda_function", "aws_s3_bucket"]). Required. | |
| outputFilePath | No | Optional path where the usage file should be saved (for guidance only). | |
| includeGuidance | No | Include formatted guidance on how to use the generated file. Default: true. |