terraform-cost-estimation VS infracost

Compare terraform-cost-estimation vs infracost and see what are their differences.


Anonymized, secure, and free Terraform cost estimation based on Terraform plan (0.12+) or Terraform state (any version) (by antonbabenko)
Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • OPS - Build and Run Open Source Unikernels
  • Scout APM - Less time debugging, more time building
terraform-cost-estimation infracost
2 46
486 4,637
- 4.8%
0.0 9.8
over 1 year ago 6 days ago
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of terraform-cost-estimation. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-02-05.
  • Visualise Terraform State
    3 projects | reddit.com/r/Terraform | 5 Feb 2021
    Could be relatively simple, just filter out everything that you don't need. Possibly as a separate cli tool for transparency. For example, Terraform Cost Estimation by Anton Babenko uses a jq script to do this.
  • Terraform Cost Estimation 2021 Guide
    2 projects | reddit.com/r/devops | 6 Jan 2021
    Let me plug-in a couple more 100% free solutions for cost estimation I have been creating in the open-source: 1. terraform-cost-estimation.com - web-service which accepts terraform plan or terraform state. 2. https://github.com/antonbabenko/terraform-cost-estimation - Anonymized, secure, and free Terraform Cost Estimation tool using cost.modules.tf service. There are instructions on how to integrate this in CI/CD pipeline or with OPA, as well as explaining what does make it really anonymized. 3. Weekly Youtube videos of me developing/hacking Terraform AWS pricing module - part1, part2, part3.


Posts with mentions or reviews of infracost. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-18.
  • I Got Pwned by My Cloud Costs
    1 project | news.ycombinator.com | 24 Jan 2022
    We've been thinking about this for a while, and if there is any way we can catch these types of cost spikes before they happen. We've managed to do it for Terraform resources using an estimation approach, and using a usage file, you can model expected usage-based resources (https://github.com/infracost/infracost/blob/master/infracost...), but this one has got us thinking more about policies.

    To be clear - we would not have been able to catch this one right now :'(

    Would love to hear thoughts / brainstorm ideas - is there any way we can proactively catch these types of cost spikes?

  • My Ansible and Terraform tooling in one docker image.
    2 projects | reddit.com/r/devops | 18 Sep 2021
    One additional tool I'd recommend on the Terraform side of things is Infracost.
  • GraphQL Cloud Pricing API with all public Azure prices (and AWS+GCP)
    3 projects | reddit.com/r/AZURE | 25 Aug 2021
    I've been working on an open source GraphQL-based API that includes all public prices from Azure, AWS and Google; it contains over 3 million prices that are automatically updated via a weekly job. This is actually the third Cloud Pricing API I've built, my previous iterations were in 2010 (scrapers to fetch cloud prices as vendors didn't offer APIs then - there were over 10,000 prices back then) and in 2015 (a RESTful API - there were over 100,000 prices then). Whilst this latest Cloud Pricing API was built with the open source Infracost CLI in mind, I'm curious if people find it useful as a standalone thing?
  • Show /r/devops: The Cloud Cost Handbook
    1 project | reddit.com/r/devops | 3 Aug 2021
    While this looks useful, the best way I've seen to evaluate cloud spend is using infracost, a tool to use with Terraform that helps evaluate pricing dynamically. Can't get much better than that.
  • AWS Now Allows Customers to Pay for Their Usage in Advance
    4 projects | news.ycombinator.com | 21 Jul 2021
    > I'm terrified of the literally infinite bill that might show up from a typo a month down the line

    Whilst this might sound funny, we were surprised to see it as a common use-cases with users putting https://github.com/infracost/infracost in their CI/CD pipelines to act as safety net. Currently it only works for Terraform users, but we plan to add other infra-as-code tools in the future. We're also discussing how we can do this for people who don't use infra-as-code in https://github.com/infracost/infracost/issues/840 but it's not clear what the workflow could look like for them. Perhaps having separate AWS accounts with a budget alert that emails you to run https://github.com/rebuy-de/aws-nuke is a work-around just now.

    (I'm co-founder of Infracost)

    4 projects | news.ycombinator.com | 21 Jul 2021
    Yep - it seems to depend on the architecture too (e.g. companies that lift-and-shift to the cloud use VMs heavily). We're discussing ideas on https://github.com/infracost/infracost/issues/730, e.g. could CloudWatch be used to fetch the usage so user has context of what those elastic services used last week/month.
  • June 2021 update - HashiCorp partnership, Env0 and Spacelift!
    1 project | dev.to | 6 Jul 2021
    Thanks for being part of the community! We look forward to hearing your feedback via GitHub issues or our community Slack chat.
  • Mapping Terraform params to Azure prices
    2 projects | reddit.com/r/AZURE | 7 Jun 2021
    For the last few weeks, myself and a few Azure users have been focused on mapping Terraform parameters to Microsoft Azure's pricing data - we've covered 65 Terraform resources that cost money and 70 that seem to be free.
    2 projects | reddit.com/r/AZURE | 7 Jun 2021
    someone from the community then "solves the puzzle" by following https://github.com/infracost/infracost/blob/master/CONTRIBUTING.md#adding-new-resources to find the pricing filters and writing the golang code to map the resource to prices (there are plenty of examples). They also write a Terraform file to test the resource's cost calcs. The testing involves either calculating the costs manually to ensure the mapping is correct, or comparing the output with the Azure cost calculator.
  • The Cost of Cloud, a Trillion Dollar Paradox
    2 projects | news.ycombinator.com | 27 May 2021
    > tie the pain directly to the folks who can fix the problem

    That's why we're building https://github.com/infracost/infracost for engineering teams (free open source)

What are some alternatives?

When comparing terraform-cost-estimation and infracost you can also consider the following projects:

terracost-cli - AWS cost estimation for Terraform projects

infracost - Cloud cost estimates for Terraform in your CLI and pull requests πŸ’°πŸ“‰ [Moved to: https://github.com/infracost/infracost]

validator - :100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving

terraform - Terraform enables you to safely and predictably create, change, and improve infrastructure. It is an open source tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.

prometheus - The Prometheus monitoring system and time series database.

savepagenow - A simple Python wrapper for archive.org's "Save Page Now" capturing service

iam-policy-json-to-terraform - Small tool to convert an IAM Policy in JSON format into a Terraform aws_iam_policy_document

aws-nuke - Nuke a whole AWS account and delete all its resources.

go-ethereum - Official Go implementation of the Ethereum protocol

terraform-aws-lambda - Terraform module, which takes care of a lot of AWS Lambda/serverless tasks (build dependencies, packages, updates, deployments) in countless combinations

bicep - Bicep is a declarative language for describing and deploying Azure resources

terraform-provider-openfaas - Terraform OpenFaaS provider