https://infracost.io logo
Title
r

red-tailor-89207

09/01/2022, 8:41 AM
đź‘‹ Hi. Is there any way to skip the
Get started
window in Infracost cloud? I don’t want to set up the CLI locally since we’re only running terraform in CI
I’d prefer an option to skip the checklist entirely.
l

little-author-61621

09/01/2022, 8:44 AM
@red-tailor-89207 the best way at the moment is to open a pull request on your repo, so that Infracost generates its first cost estimate. The
Get started
window will disappear when we receive the first PR data.
r

red-tailor-89207

09/01/2022, 8:45 AM
Got it, wasn’t sure if it was waiting for the CLI step before resolving the last step (open a PR). Looks like I’m not sending data then.
l

little-author-61621

09/01/2022, 8:46 AM
Does the “Repos” page show any data?
r

red-tailor-89207

09/01/2022, 8:46 AM
No. I’ll investigate on my end.
Fixed, I was missing a
infracost upload
step in my workflow. By the way, the last sentence in the docs here seems a bit confusing https://www.infracost.io/docs/infracost_cloud/get_started/#5-send-a-pull-request
If you do not use the infracost comment command in your CI/CD system, you can upload Infracost JSON files to Infracost Cloud.
To me it suggests that you either use
infracost comment
or
infracost upload
and the data should be present in Infracost cloud.
m

mysterious-teacher-68276

09/01/2022, 12:14 PM
Hey @red-tailor-89207, yes using either
infracost comment
or
infracost upload
should show data in infracost cloud
So there’s something else going on here.
infracost upload
implicitly ignores cloud enabled settings and always uploads no matter what. So this suggests that you might not have this option enabled in your organization.
If you head to
<https://dashboard.infracost.io/org/YOUR_ORG/settings>
and scroll down to “Cost estimate dashboard” section - is this checkbox ticked?
r

red-tailor-89207

09/01/2022, 12:17 PM
Yep
m

mysterious-teacher-68276

09/01/2022, 12:17 PM
hmm
do you mind posting the
infracost comment
command you use?
r

red-tailor-89207

09/01/2022, 12:17 PM
I’ll test it again, give me a sec. I was updating the api key and I’m not 100% sure if the run happened before or after I updated it.
m

mysterious-teacher-68276

09/01/2022, 12:18 PM
🙏
r

red-tailor-89207

09/01/2022, 12:22 PM
Ok it’s my bad. Works with
infracost comment
, i just forgot where we pass the API key and updated it in a different spot at first.
Sorry for taking your time, and thanks for the help
m

mysterious-teacher-68276

09/01/2022, 12:22 PM
no problems, it’s great to hear you’ve got to success 🚀
give us a shout if there’s anything else you need