:wave: Hi. Is there any way to skip the `Get start...
# general
r
👋 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
@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
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
Does the “Repos” page show any data?
r
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
Copy code
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
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
Yep
m
hmm
do you mind posting the
infracost comment
command you use?
r
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
🙏
r
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
no problems, it’s great to hear you’ve got to success 🚀
give us a shout if there’s anything else you need