Can I vibecode Infracost Cloud?
KINDA · weekend projectThe core developer loop is a credible weekend build if the replacement is intentionally narrow: one GitHub App, Terraform on AWS, a small resource catalog, public list prices, basic tag and cost guardrails, and one idempotent pull-request comment. A faithful Infracost Cloud replacement is much harder because the paid product combines broad IaC and multi-cloud coverage with continuously maintained pricing data, policy depth, custom price books, organization-wide visibility, workflows, and enterprise integrations.
Build a self-hosted GitHub App called CostLens in an empty repository. Use Python 3.12, FastAPI, SQLite, python-hcl2, httpx, PyJWT, and Docker Compose; do not offer alternative stacks. The core loop is: when a pull request changes Terraform, estimate the AWS monthly cost delta, run basic FinOps checks, and update one PR comment. Authenticate as a GitHub App using an app ID, installation token flow, webhook secret, and private key stored outside the repository. Handle pull_request opened, synchronize, and reopened events, and verify every webhook signature before processing. Analyze the base commit and head commit separately so the comment shows previous cost, proposed cost, and monthly delta. Parse Terraform HCL locally and support a deliberately bounded first set: EC2 Linux on-demand instances, EBS gp2/gp3 volumes, and RDS on-demand instances plus allocated storage. Use the public AWS Price List Bulk files as the pricing source, cache downloaded price data, and record the source publication timestamp. Assume 730 hours per month for hourly resources and show every assumption in the result. Never price an unsupported or ambiguous resource as zero; list it as unsupported and exclude it from totals. Support count when it resolves to a literal integer; mark for_each, unknown expressions, modules, and unresolved variables as unsupported in v1. Add configurable required-tag checks and a configurable monthly cost-increase warning threshold. Post a Markdown PR comment with total before, total after, delta, the five largest increases, policy warnings, unsupported resources, and pricing timestamp. Use a hidden HTML marker so repeated webhook deliveries update the existing comment instead of creating duplicates. Store repository settings and analysis history in SQLite, with a small admin page for recent PR analyses and configuration. Add retry and timeout handling for GitHub and AWS pricing downloads, structured logs, and a health endpoint. Ship .env.example, a Dockerfile, docker-compose.yml, database migrations, and one-command local startup. Include unit tests for pricing normalization and Terraform resource extraction plus one end-to-end webhook happy path using fixtures. Document the minimum GitHub App permissions and events in the README, including pull requests read, contents read, and issues write. Do not send Terraform source, secrets, or repository contents to any AI or third-party analysis API. Deliberately leave out Azure, GCP, Terragrunt, CloudFormation, CDK, negotiated discounts, Savings Plans, Reserved Instances, and usage-based cost forecasting. Deliberately leave out SSO, billing, organization dashboards, campaigns, AutoFix, enterprise RBAC, and GitLab or Azure DevOps integrations. Finish by running the tests, starting the stack locally, processing the included sample webhook, and listing the exact commands used.
$ open in your agent (prompt prefilled, you press enter) or copy it raw
prompt copied. want to know what dies next week?
new verdicts + top votes, weekly. free. one-click out.
Teams pay for maintained breadth and confidence rather than the Markdown comment itself. Infracost keeps a large multi-cloud pricing and resource model current, handles real-world IaC edge cases, centralizes policies and private pricing, integrates those checks across developer workflows, and gives FinOps teams organization-level visibility and governance without owning another internal platform.
xAWS, Azure, and Google Cloud coverage across the full Infracost resource catalog
xTerragrunt, CloudFormation, AWS CDK, modules, and complex Terraform expression coverage
xcustom price books, negotiated discounts, and organization-specific pricing
xIssue Explorer, campaigns, AutoFix, dashboards, audit trails, and team workflows
xenterprise identity, security, support, and broad CI/CD integrations
Infracost Cloud pricing
cloud$1000/mo · monthly · $12,000/yr
free tierInfracost CI/CD is free for up to 1,000 runs per month, but the Cloud plan adds policies, guardrails, dashboards, workflows, and audit trails.
verified 2026-08-09 · source ↗
Is Infracost Cloud free?
Infracost CI/CD is free for up to 1,000 runs per month, but the Cloud plan adds policies, guardrails, dashboards, workflows, and audit trails. Paid is Cloud at $1000/mo (checked 2026-08-09).
Can I vibecode Infracost Cloud?
Kinda. The core of Infracost Cloud is buildable in a weekend with the prompt on this page, but there are real gaps: AWS, Azure, and Google Cloud coverage across the full Infracost resource catalog, Terragrunt, CloudFormation, AWS CDK, modules, and complex Terraform expression coverage. Read the honest list above before committing.
How much does Infracost Cloud cost?
Infracost Cloud costs about $1000/month (Cloud, checked 2026-08-09), which is $12000 per year.
What do I lose by replacing Infracost Cloud?
Honestly: AWS, Azure, and Google Cloud coverage across the full Infracost resource catalog; Terragrunt, CloudFormation, AWS CDK, modules, and complex Terraform expression coverage; custom price books, negotiated discounts, and organization-specific pricing; Issue Explorer, campaigns, AutoFix, dashboards, audit trails, and team workflows; enterprise identity, security, support, and broad CI/CD integrations. If any of those are load-bearing for you, keep paying.
Is there an open-source alternative to Infracost Cloud?
Yes: Infracost (Apache-2.0 developer toolkit and the clearest reference for the product's resource-to-cost model and pull-request workflow.), AWS Price List (AWS-maintained bulk pricing data that a narrow replacement can consume without depending on Infracost's pricing API.). Using prior art is also vibecoding; the prompt is for when you want it exactly your way.