🚀 We added support for Microsoft Azure! We also updated our JSON output format in Infracost
v0.9.0. Finally, we removed commands, flags and environment variables that were marked as deprecated in
The JSON output from
infracost breakdown --path=path/to/code --format json has been changed to the following format:
versionhas been bumped from
projects[*].pathhas moved to
projects[*].metadata.pathand a new
projects[*].namekey has been introduced. This name is autogenerated from your code repository URL or the path you pass to Infracost. This enables you to see details of the project that was used to generate the cost estimate.
- The deprecated top-level
resourceskey has been removed as they are now scoped by project.
The deprecated root
infracost command has been removed as we've moved to using subcommands:
infracost breakdown: this works similarly to the previous
infracostroot command and shows a table breakdown of all resources by default. Run
infracost breakdown --helpto see the other options.
infracost diff: this shows a list of the resources along with costs that will change when the Terraform plan is applied.
infracost report command has been removed and replaced with
This takes Infracost JSON files as inputs via
--path and allows them to be combined and outputted in any format using
--format json|diff|table|html. This command can be used with wildcards too, e.g.
infracost output --format html --path infracost*.json > output.html. Run
infracost output --help to see the other options.
The following deprecated flags have all been removed and replaced with
-o flag has been replaced with
The following deprecated environment variables have been removed:
TERRAFORM_BINARY: replaced with
TERRAFORM_CLOUD_HOST: replaced with
TERRAFORM_CLOUD_TOKEN: replaced with
SKIP_UPDATE_CHECK: replaced with
No changes are required for any CI/CD integrations.