merkuryo/Infracost PR Cost Reporter
Estimates infrastructure cost changes on PRs using Infracost
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| terraform_dir | Directory containing Terraform files | yes | . |
| currency | Currency for cost estimates (e.g. USD, EUR, GBP) | no | USD |
| threshold_usd | Fail if monthly cost increase exceeds this USD amount (0 = any increase fails, -1 = never fail) | no | 0 |
| post_comment | Post cost diff as PR comment | no | true |
| infracost_api_key | Infracost API key (get one free at https://dashboard.infracost.io) | yes | — |
Outputs
| name | description |
|---|---|
| monthly_diff | The monthly cost difference in USD (positive = increase, negative = decrease) |