Repository navigation
First Marketplace release of the CloudCostTree composite action.
Analyze the cost impact and policy compliance of a Terraform / CloudFormation /
Pulumi change on every pull request, and post the breakdown as a PR comment.
The action downloads a prebuilt cloudcosttree binary — it never builds from,
exposes, or depends on any private source.
- uses: actions/checkout@v4
- uses: rulssss/cloudcosttree@v1
with:
infra-path: ./infra # required
baseline-path: "" # optional — set it to run in "diff" mode
policies-path: policies.yaml # optional
mode: "" # report | check | diff (inferred if empty)
fail-on-blocking: "true" # fail the step on a blocking violation (exit 2)
license-key: ${{ secrets.CLOUDCOSTTREE_LICENSE_KEY }} # optional, Pro
Outputs: exit-code (0 clean / 1 warn-only / 2 blocking) and violations-found.
Pin @v1 for the current major (moves forward on compatible releases),
@v1.0.0 for an exact version, or @main for the latest. Full docs:
https://github.com/rulssss/cloudcosttree#github-action