Cloud cost estimates for Terraform in pull requests💰📉 Love your cloud bill!
APACHE-2.0 License
Bot releases are visible (Hide)
Published by github-actions[bot] over 2 years ago
infracost comment
cmd by @tim775 in https://github.com/infracost/infracost/pull/1297. Run infracost comment --help
for examples (more docs coming soon!)infracost comment azure-repos --help
for an example of how to post cost estimates to Azure Reposinfracost output
to generate the comment markdown (so you can post it manually)Big thanks to @sinabakh for his time and effort in helping migrate resources to the new structure.
Full Changelog: https://github.com/infracost/infracost/compare/v0.9.16...v0.9.17
Published by github-actions[bot] almost 3 years ago
sql_database
by @hugorut in https://github.com/infracost/infracost/pull/1215
ap-southeast-3
region to shared usage by @hugorut in https://github.com/infracost/infracost/pull/1236
terraform/grunt
version is prefixed with v by @tim775 in https://github.com/infracost/infracost/pull/1261
terraform init
by @aliscott in https://github.com/infracost/infracost/pull/1237
Full Changelog: https://github.com/infracost/infracost/compare/v0.9.15...v0.9.16
Published by github-actions[bot] almost 3 years ago
INFRACOST_TERRAGRUNT_FLAGS
during init and info by @tim775 in https://github.com/infracost/infracost/pull/1172
-target
is used with Terrarform. by @aliscott in https://github.com/infracost/infracost/pull/1169
Full Changelog: https://github.com/infracost/infracost/compare/v0.9.14...v0.9.15
Published by github-actions[bot] almost 3 years ago
Full Changelog: https://github.com/infracost/infracost/compare/v0.9.13...v0.9.14
Published by github-actions[bot] almost 3 years ago
Add resource summary by @aliscott in https://github.com/infracost/infracost/pull/1082
Show one line in diff when cost component labels change by @aliscott in https://github.com/infracost/infracost/pull/1088
Make update the default when posting to GitHub by @aliscott in https://github.com/infracost/infracost/pull/1104
Add project list to top of PR comments by @aliscott in https://github.com/infracost/infracost/pull/1106
Add github-comment
markdown as an output format option by @tim775 in https://github.com/infracost/infracost/pull/1111
Add --out-file
flag by @aliscott in https://github.com/infracost/infracost/pull/1116
Add tier support to Azure Private Link endpoints by @aliscott in https://github.com/infracost/infracost/pull/1103
Add AWS Transfer Family resources by @vdmgolub in https://github.com/infracost/infracost/pull/1112
Add resourcegen cmd by @hugorut in https://github.com/infracost/infracost/pull/1091
Export project env so it works with sync usage by @aliscott in https://github.com/infracost/infracost/pull/1085
Speed up sync usage by @tim775 in https://github.com/infracost/infracost/pull/1084
Show user-friendly error when AWS creds not provided by @MaxymVlasov in https://github.com/infracost/infracost/pull/1083
Add default location to container registry by @hugorut in https://github.com/infracost/infracost/pull/1087
Update CI feedback comment by @aliscott in https://github.com/infracost/infracost/pull/1113
Add output event by @aliscott in https://github.com/infracost/infracost/pull/1117
Add colons to summary by @aliscott in https://github.com/infracost/infracost/pull/1119
Bump terraform version in Dockerfile by @aliscott in https://github.com/infracost/infracost/pull/1122
See the docs changes: https://github.com/infracost/docs/pull/105
Full Changelog: https://github.com/infracost/infracost/compare/v0.9.12...v0.9.13
Published by github-actions[bot] almost 3 years ago
Full Changelog: https://github.com/infracost/infracost/compare/v0.9.11...v0.9.12
Published by github-actions[bot] about 3 years ago
Add support for Azure Synapse by @dgcaron in https://github.com/infracost/infracost/pull/912
Add support for map/nested data types in UsageData
by @hugorut in https://github.com/infracost/infracost/pull/1019
Refactor S3 to new structure by @aliscott in https://github.com/infracost/infracost/pull/1025
Add usage file YAML comments by @aliscott in https://github.com/infracost/infracost/pull/1036
Usage comment improvements by @aliscott in https://github.com/infracost/infracost/pull/1046
Simplify CloudFront output by @hugorut in https://github.com/infracost/infracost/pull/1049
Add S3 estimation by @aliscott in https://github.com/infracost/infracost/pull/1045
Add EKS Node Group estimation for instance count by @aliscott in https://github.com/infracost/infracost/pull/1050
Add some initial logs for usage queries by @aliscott in https://github.com/infracost/infracost/pull/1056
Don't show items with zero usage in table or html output by @tim775 in https://github.com/infracost/infracost/pull/1042
Fix sync usage file flag to not be destructive by @ajoulie in https://github.com/infracost/infracost/pull/1055
Fix CloudFront nested usage param lookup by @tim775 in https://github.com/infracost/infracost/pull/1044
Fix CloudFront monthly http requests usage by @hugorut in https://github.com/infracost/infracost/pull/1048
Fix example usage file comments so the usage-file generator picks them up by @alikhajeh1 in https://github.com/infracost/infracost/pull/1058
Fix CloudFront checking for empty keys by @tim775 in https://github.com/infracost/infracost/pull/1051
Refactor: move from io/ioutil to io and os package by @Juneezee in https://github.com/infracost/infracost/pull/1052
The usage file parameter monthly_retrieval_gb
has been renamed to monthly_data_retrieval_gb
Full Changelog: https://github.com/infracost/infracost/compare/v0.9.10...v0.9.11
Published by github-actions[bot] about 3 years ago
Full Changelog: https://github.com/infracost/infracost/compare/v0.9.9...v0.9.10
Published by github-actions[bot] about 3 years ago
feat: post a pull request comment if possible (#980)
feat(aws): detect instance operating system (#984)
feat(azure): Add support for Postgres flexible server v4 (#979)
feat(azure): add bastion_host (#990)
feat(aws): added NAT gateway associations as free resources (#973)
feat(azure): add virtual_desktop_hostpool as free resource (#974)
feat: add debug logs for free resources (#997)
fix: fix output paths containing ~ (#1017)
fix: don't detect Terraform dir by looking for .hcl files. (#996)
fix: sync usage nil pointers (#1014)
fix: use a consistent VCS repo URL so the golden files don't fail on forks
fix: error on terraform env var with config file (#976)
fix: handle empty sslState (#983)
refactor: move EC2 instance, EBS volume, AutoscalingGroups, EKS node groups to new resource structure
build: bump to use go1.17
Published by github-actions[bot] about 3 years ago
feat: add initial support for pulling usage for DynamoDB and Lambda when using --sync-usage-file
feat(gcp): add compute_instance_group_manager (#944)
fix(terraform): fix parsing of module and indexed resources for Terraform v0.12
fix(terraform): fix address parsing failing if there's a .
in the index part
fix: fix AWS WAF for non us-east-1
fix: AWS renamed Elastic Search to OpenSearch
Published by github-actions[bot] about 3 years ago
feat(ci): enable Azure DevOps users to customize comment status (#950)
feat: add initial native terragrunt support (#935)
fix(ci): include the new all --fields (#918)
fix(ci): update PR comment to include currency (#920)
fix(cli): include quotes in help text (#932)
fix(azure): update MSSQL filter to match pricing db changes (#936)
fix(aws): update FSx filters to exclude non-Windows file systems (#942)
fix(azure): update VPN Gateway filters (#952)
fix(config): ensure INFRACOST_TERRAFORM_WORKSPACE env variable isn't overwritten (#946)
fix(config): warn on invalid TF_CLI_CONFIG_FILE instead of error (#949)
Published by github-actions[bot] about 3 years ago
feat(cli): add currency conversion (#914), run infracost configure --help
to see how you can set the currency.
feat(cli): Add an option which causes the output to contain all the fields (#916)
feat(azure): add support for VPN Gateway (#901)
feat(azure): add azurerm_active_directory_domain_service (#907)
fix(aws): improve mappings for AWS RDS Instance
fix(aws): use consistent names for storage I/O
test(aws): Mask fluctuations in CNY exchange rate that are breaking golden file test (#915)
Published by github-actions[bot] about 3 years ago
infracost configure
commandPublished by github-actions[bot] over 3 years ago
feat: update infracost register to let users know upfront if they already have an API key
feat(aws): update aws_vpc_endpoint to use new pricing (#867)
fix: fix panic if .config directory can't be accessed
fix(ci): default the GH API URL (#865)
fix(aws): LightSail has added a free tier but only for Windows
chore: bump the TF version
Published by github-actions[bot] over 3 years ago
This release paves the way for the new Infracost management dashboard that we've been working on. Email [email protected] if you're interested in a preview!
In addition, this release includes:
feat(ci): add post to Slack in Atlantis and Jenkins diff scripts
feat(ci): use show_skipped env to control the output (#850)
feat: re-add overall summary to JSON output, this contains the all unsupported resources from the individual projects in the JSON output
fix(aws): EKS module with multiple worker launch templates (#844)
fix(ci): fix wrong variable being used in diff scripts
fix(aws): fix Kinesis picking up multiple products
fix(aws): fix case comparisons (#854)
fix(azure): case comparison (#856)
fix(google): fix case comparisons (#853)
fix: change indentation so it doesn't cause segmentation fault in certain shells (#855)
fix: New spinner upgrade doesn't clear previous spinner properly (#857)
Published by github-actions[bot] over 3 years ago
Features:
feat(aws): Add support for AWS Neptune (#813)
feat(aws): Add support for Kinesis Firehose (#820)
feat(aws): Add support for Kinesis Data Analytics (#825)
feat(aws): Add support for AWS Backup resource (#818)
feat(aws): Add support for Amazon EFS One zone (#826)
feat(aws): Add support of terraform-aws-modules/eks/aws module for Autoscaling Group (#831), this only works for the first launch_template
feat(azure): add support for Azure Application Insights (#834)
feat(azure): Add support for Azure Application Gateway (#835)
feat(azure): Add Support for Event hub Namespace (#787)
feat(azure): Add support for Azure Load Balancer (#836)
feat(azure): Add support for Azure Kubernetes Load Balancer and HTTP Application Routing (#838)
feat(Atlantis): check if $PLANFILE.json exist and use that first (#837)
Bug fixes and refactors:
fix: update spinner for windows (#815)
fix(azure): update regexes so they work with more regex engines (#827)
fix: don't warn about usage file if not syncing (#833)
fix: init detection (#823)
chore(azure): update vm_size output (#814)
fix: remove ALLOW_TAG_PREFIX since it is deprecated
feat(aws): Use goformation to detect yaml and json templates
feat: Add UsageSchema to Resource to allow overriding of infracost-usage-example.yml
refactor(aws): Convert nat_gateway to shared resource
refactor(aws): Convert lambda_function to shared resource
refactor(aws): Convert dynamodb to use UsageSchema and "provider independent" Resource
Published by github-actions[bot] over 3 years ago
feat(ci): Add support for shell-completion (#786)
feat(ci): Add MVP of posting a comment to Slack webhook URLs (#781), set SLACK_WEBHOOK_URL=https://hooks.slack.com/services/...
in CI/CD integrations to also post comments to Slack.
feat(aws): Add pricing support for AWS CloudFormation (#780)
feat(azure): Add support for Azure Automation (#776)
feat(azure): Add support for Azure Cognitive Search (#794)
feat(azure): Add support for Azure Redis Cache (#795)
feat(google): Add compute_vpn_tunnel support (#761)
feat(google): Add support for Google Load Balancer (#800)
feat(google): Add support for Google BigQuery (#793)
fix: support Terraform projects that use HCL JSON (#802)
fix(aws): root block device calculation - autoscaling launch template (#779)
fix(output) : aws_rds_cluster shows $0 monthly cost but it should show "cost depends on usage" (#766)
fix(output): fixes total monthly and hourly cost not populated for infracost output
command. (#788)
fix(azure): refactor storage account to fix cost components (#785)
fix(azure): fix problems with lookupRegion and multiple products (#789)
fix(azure): Update Azure locations (#804)
Published by github-actions[bot] over 3 years ago
Important: See the v0.9 migration guide as we updated our JSON output
format in v0.9.0
. We also removed commands, flags and environment variables that were marked as deprecated in v0.8.0
.
Features:
feat: add project name to output
feat(output): update the HTML output (#632)
feat(output): add overall total to table and HTML outputs
feat(cli): don’t use faint colors for “cost depends on usage” lines (#772)
feat(aws): Add support AWS WAF and WAFv2 (#731)
feat(azure): Add support for rest of CosmosDB resources (#745)
feat(azure): Add support for Azure DNS (#741)
feat(azure): Add support for PostgreSQL Flexible Server (#764)
feat(azure): Add region lookup helper (#768)
feat(azure): Add support for TDU purchase model for Azure MSSQL (#773)
Bug fixes:
fix(azure): use more robust filters (#759)
fix(azure): handle cases where references are not available (#771)
fix(azure): default to an Azure region instead of skipping (#760)
fix(azure): make Function pricing calcs more robust (#767)
fix(azure): skip resource when resource_group_name.location can’t be found (#754)
chore(output): remove table_deprecated format
chore(output): remove deprecated fields
chore: remove deprecations from diff script (#774)
chore: remove deprecated root command
chore: remove deprecated report command
chore: bump JSON output version
chore(deps): bump github.com/fatih/color from 1.10.0 to 1.12.0 (#748)
chore(deps): bump github.com/briandowns/spinner from 1.12.0 to 1.13.0 (#749)
chore(deps): bump github.com/tidwall/gjson from 1.7.5 to 1.8.0 (#750)
chore(azure) - tidy-up resource registry (#753)
Published by github-actions[bot] over 3 years ago
refactor: Remove implicit calculation of Unit quantities from UnitMultiplier (#593)
The cost estimates are the still the same but the quantity in the output now maps to what users see in their Terraform projects or usage file.
Before:
Name Monthly Qty Unit Monthly Cost
azurerm_managed_disk.ultra
├─ Storage (ultra, 8 GiB) 5,840 GiB-hours $0.96
├─ Provisioned IOPS 730,000 IOPS-hours $49.64
└─ Throughput 7,300 MB/s-hours $10.00
After:
azurerm_managed_disk.ultra
├─ Storage (ultra, 8 GiB) 8 GiB $0.96
├─ Provisioned IOPS 100 IOPS $49.64
└─ Throughput 10 MB/s $10.00
feat(aws): Add support for AWS Step Function (#720)
feat(aws): Add support for AWS MQ broker (#658)
feat(azure): Add support for azurerm_app_service_certificate_binding (#614)
feat(azure): Add Azure App Service Plan and Environment (#633)
feat(azure): Add support for Azure public_ip and public_ip_prefix (#678)
feat(azure): add support for Azure Functions (#653)
feat(azure): add support for Azure Container Registry (#668)
feat(azure): Add support for Azure Block Blob Storage Account (#644)
feat(azure): Add support for Azure Logic App Integration Service Environments (#680)
feat(azure): Add support for Azure Key Vault resources (#657)
feat(azure): Add support for Azure Kubernetes Service (#677)
feat(azure): Add support for Azure App Service Certificate Binding (for hostname) (#686)
feat(azure): Add support for Azure NAT Gateway (#683)
feat(azure): Add support for Azure Firewall (#688)
feat(azure): Add support for Azure Databricks (#698)
feat(azure): Add support for Azure Firewall with Secured Virtual Hub (#697)
feat(azure): Add support for Azure Storage Account (file) (#694)
feat(azure): Add Support for Azure Notification Hub (#700)
feat(azure): Add support for Azure HDInsight (#684)
feat(azure): Add support for Azure CosmosDB (#696)
feat(azure): Add support for Azure Legacy VMs (#714)
feat(azure): Add support for Azure CDN (#721)
feat(azure): Add support for Azure API Management (#723)
feat(azure): Add CI/CD integration for Azure DevOps (#728)
chore: bump Terraform and Terragrunt versions (#736)
fix: added count-alphabet sort for skipped resources (#717)
fix: Double negative for percentage in diff output (#636)
fix: rounding update so small prices are displayed with more precision (#733)
fix(build): add .exe to windows binary (#663)
fix(aws): monthly_outbound_other_regions_gb usage data typo
fix(aws): Fix transit gateway data usage to use MonthlyQuantity for 'monthly_data_processed_gb' (#649)
fix(aws): Sort s3 sub resources so output order stays consistent
fix(aws): data transfer costs (#719)
fix(azure): fix HOT RA-GRS write operations for BlockBlob Storage Account
fix(azure): check for China using contains to catch other zones/regions
These have reduced the CI runs from ~20mins to ~6.5mins:
test: add GoldenFileResourceTests and convert all non-spotInstance tests to that format
test: make tests for aws run parallel (#635)
test: speed up tests by using a cached copy of terraform init output
chore: Add terraform fmt to make fmt
Published by github-actions[bot] over 3 years ago
feat(cli): add '--fields' flag to specify table output in breakdown/output (#620). Run infracost breakdown --help
to see the options.
feat: add jenkins support (#611), see docs here.
feat(azure): Add support for Azure MSSQL Database (#618)
feat(aws): refactored CPU credits to use usage file (#617). BREAKING change: usage file attributes monthly_cpu_credit_hours
and cpu_credit_hrs
have been renamed to monthly_cpu_credit_hrs
fix: fix workspace param in diff scripts (#629)
fix(azure): Postgres multiple prices (#613)