3 ms·
It’s hard work to do the mappings between cloud pricing web pages and terraform resource params. It took us a week to do it just for S3, which has 50+ cost comp
by hkh 5y ago
It’s hard work to do the mappings between cloud pricing web pages and terraform resource params. It took us a week to do it just for S3, which has 50+ cost components. We have a community who are adding the mappings, we’ve developed guidelines and automated tests for them too. We now cover over 200 resources.
Since then, we have partnered with Hashicorp to build out their Run Tasks feature. It's still in beta, but more info about it here: https://www.hashicorp.com/blog/terraform-cloud-run-tasks-beta-now-available https://www.hashicorp.com/blog/terraform-cloud-run-tasks-bet...
- nikolay 5y agoI saw that, thank you, unfortunately, we Terraform our Terraform Cloud and beta features are not available in the TFE provider, so, we need to wait for the beta label to get removed from it. Not sure why HashiCorp decided not to include beta feature in their APIs - it looks like a very poor choice!
- akh 5y agoWe couldn't wait either so we talked with other TFE users who were using Infracost and we learned from them to make an example of how to run it with GitHub Actions: https://github.com/infracost/actions/tree/master/examples/terraform-cloud-enterprise https://github.com/infracost/actions/tree/master/examples/te... We have similar examples for GitLab (https://gitlab.com/infracost/infracost-gitlab-ci/-/tree/master/examples/terraform-cloud-enterprise https://gitlab.com/infracost/infracost-gitlab-ci/-/tree/mast...) and Azure DevOps (https://github.com/infracost/infracost-azure-devops/tree/master/examples/terraform-cloud-enterprise https://github.com/infracost/infracost-azure-devops/tree/mas...). Happy to help with any issues via infracost.io/community-chat