Re:Launch HN: Infracost (YC W21) – open-source cloud cost es...
by aliscott on Monday February 08, 2021 @10:00AM
(#26065348)
We cover 70+ resources across AWS and GCP (the tool you mentioned only covers 12 AWS resources) and we support a number of integrations including GitHub Actions and Atlantis (https://www.infracost.io/docs/integrations/) so you can see diffs in pull requests. We're seeing a lot of users who are using multiple tools for deploying their services, for example Terraform + Kubernetes or CloudFormation + Serverless. In the future we want to work across multiple tools so we can support these use-cases as well.
Re:Launch HN: Infracost (YC W21) – open-source cloud cost es...
by mikegreen on Monday February 08, 2021 @12:31PM
(#26067486)
I'm hoping that Infracost doesn't need the entire state file shipped to an outside service/server, like the one mentioned here does.
State files should be considered secret....
$ terraform state pull | curl -s -X POST -H "Content-Type: application/json" -d @- https://cost.modules.tf/
Re:Launch HN: Infracost (YC W21) – open-source cloud cost es...
by dastx on Monday February 08, 2021 @03:28PM
(#26069654)
They have a jq script[0] that removes everything but the necessary data for the cost estimation.
[0] https://github.com/antonbabenko/terraform-cost-estimation/bl...
Re:Launch HN: Infracost (YC W21) – open-source cloud cost es...
by aliscott on Monday February 08, 2021 @12:44PM
(#26067655)
Agree, state files can contain sensitive information. We parse the Terraform client side and only send the details to the API that are needed to determine the price, i.e. the instance type, region, etc.
https://github.com/antonbabenko/terraform-cost-estimation