c3xdev/c3x

Cloud cost estimation for Terraform & CloudFormation. Installs the c3x CLI, posts the per-PR cost delta as a comment, and enforces budget / budget-delta gates. No API key required.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 30, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: c3xdev/c3x@754ce0e1e372e0968a926eb2217fe98e96a1abf0 # v0.1.4

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
versionc3x version to install (e.g. v0.1.0). "latest" resolves the newest release.latest
install-onlyOnly install the binary; skip the estimate.false
pathTerraform directory, plan JSON, or CloudFormation template..
commentPost/update the cost comment on the current PR (needs pull-requests write).true
branded-commentsPost the PR comment as the c3x-cloud[bot] instead of github-actions. Requires the c3x-cloud GitHub App installed on the repo and 'permissions: id-token: write' in the workflow. Falls back to the default github-actions identity if either is missing.false
token-serviceC3X Cloud token service URL (advanced; default token.c3x.dev).https://token.c3x.dev
budgetFail when the monthly total exceeds this amount (0 disables).0
budget-deltaFail when this PR *increases* the monthly total by more than this amount versus the base branch (0 disables). Independent of budget.0
formatOutput format for the workflow log (text, markdown, json, junit, html, csv, sarif).text
currencyDisplay currency (USD, EUR, GBP, ...).""

no outputs