We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Great tool. would love to continuously acknowledge the estimated price of https://github.com/bridgecrewio/terragoat on every push to master
The text was updated successfully, but these errors were encountered:
Hi Barak!
You can do this by running terraform plan on GH action and then sending tfplan file to cost.modules.tf with or without preprocessing via terraform.jq, as described here - https://github.com/antonbabenko/terraform-cost-estimation#example---get-cost-estimates-during-terraform-plan
terraform plan
cost.modules.tf
terraform.jq
You can also make your pipeline fail if price is too high:
$ ... | curl -s -X POST -H "Content-Type: application/json" -d @- https://cost.modules.tf/ > costs.json $ jq 'if .monthly|tonumber > 10 then "$" else "$$$" end' costs.json
Sorry, something went wrong.
No branches or pull requests
Great tool. would love to continuously acknowledge the estimated price of https://github.com/bridgecrewio/terragoat on every push to master
The text was updated successfully, but these errors were encountered: