Title
#general
o

Ondrej Bilčík

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
8:42 AM
I’d prefer an option to skip the checklist entirely.
Alistair (Infracost)

Alistair (Infracost)

09/01/2022, 8:44 AM
@Ondrej Bilčík 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.
o

Ondrej Bilčík

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.
Alistair (Infracost)

Alistair (Infracost)

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

Ondrej Bilčík

09/01/2022, 8:46 AM
No. I’ll investigate on my end.
11:54 AM
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.
Hugo (Infracost)

Hugo (Infracost)

09/01/2022, 12:14 PM
Hey @Ondrej Bilčík, yes using either
infracost comment
or
infracost upload
should show data in infracost cloud
12:15 PM
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.
12:16 PM
If you head to
<https://dashboard.infracost.io/org/YOUR_ORG/settings>
and scroll down to “Cost estimate dashboard” section - is this checkbox ticked?
o

Ondrej Bilčík

09/01/2022, 12:17 PM
Yep
Hugo (Infracost)

Hugo (Infracost)

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

Ondrej Bilčík

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.
Hugo (Infracost)

Hugo (Infracost)

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

Ondrej Bilčík

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.
12:22 PM
Sorry for taking your time, and thanks for the help
Hugo (Infracost)

Hugo (Infracost)

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