https://infracost.io logo
#help
Title
# help
n

nutritious-helicopter-17338

01/22/2024, 12:55 PM
Hello, while using infracost in gitlab ci ,how can I get the estimates of the resources from commited branch before raising a merge request. Note:- I am using gitlab ci integration and not the gitlab app. Also when I raise a MR everytime I get the message as Monthly cost will not change. I am following the doc of gitlabci integration.
w

white-airport-8778

01/22/2024, 5:29 PM
Hi @nutritious-helicopter-17338 - you can modify the
infracost:default-branch-update
task in https://gitlab.com/infracost/infracost-gitlab-ci to run Infracost on all branches but we the vast majority of users run Infracost on MRs. Re monthly costs will not change, can you try one of the code snippets in https://www.infracost.io/docs/infracost_cloud/get_started/#4-send-a-pull-request to see if that shows an estimate?