I built Relia to be the "ESLint" for cloud costs. It parses Terraform plans locally and blocks PRs that exceed a budget.
Repo: https://github.com/davidahmann/relia_oss
How it works:
Parses .tf files or JSON plans (Cost estimation logic is in Python).
Maps resources to a bundled SQLite pricing database (works fully offline/air-gapped).
Fails the build if monthly_cost > budget (defined in .relia.yaml).
Why not Infracost? Infracost is great, but I wanted something purely offline and privacy-first. Relia doesn't require an API token, doesn't ping a SaaS, and has no "Enterprise" tier. It’s just a CLI tool you own.
It currently supports AWS (EC2, RDS, Lambda, NAT Gateways). I’d love feedback on the heuristic matching logic.