Enterprise customers can now get cost estimates for every infrastructure change using the new Infracost hook. Your pull request comments will show cost deltas and estimated monthly totals for each impacted unit. You can specify cost thresholds at which the hook will warn or even block merge, and use the standard filter block to limit which infrastructure costs get estimated for.

To run Infracost, declare a hook in your gruntwork.hcl config file. See the docs for additional options, and to learn how to provide your API key as a secret.
after_hook "infracost" {
name = "Cost Estimate"
commands = ["plan"]
execute = [ "pipelines", "hooks", "infracost@v0" ]
env {
# warn for changes of $1000 or more
PIPELINES_HOOK_INFRACOST_WARN_TOTAL_CHANGE_ABOVE_AMOUNT = "1000"
}
}The Infracost hook is available as of GitHub v4.24.0 and GitLab v2.19.0.