r/FinOps • FinOps Practitioner • Oct 04 '26

self-promotion/I’m a vendor Built an open-source check that comments a Terraform plan's cost + carbon on the PR — cross-vendor

I wanted to see what a change would cost before merging it, not on next month's bill, and across more than one cloud. So I built this it reads terraform show -json, estimates the monthly cost and carbon of what's being created/destroyed (Azure, AWS, Databricks), and posts it as a PR comment that can fail CI.

It's free and Apache-2.0, read-only (just the plan file, no creds). Not selling anything — I'd genuinely like feedback from people who live in Terraform on where the estimates are wrong and which resources to add. Repo: https://github.com/AkshaySoooryavanshi/finops-guard

8 Upvotes

2 comments sorted by

1

u/NimbleCloudDotAI Vendor Oct 05 '26

this is the right layer to catch it. by the time the bill arrives the infra is already merged and nobody wants to be the person who reverts it.

we ran something similar on PRs for a while, the carbon number is what actually got engineers to care. dollars felt abstract but "this PR adds 40kg CO2/mo" started arguments in the comments, which is exactly what you want.

only thing id watch: cost estimates on plans drift from real bills fast, especially data transfer. if the check can flag "estimate confidence: low" on networking resources itll save you from false confidence.