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

jolly-pilot-68525

12/10/2022, 7:09 PM
I can't seem to click this in vscode, is there another way to connect:
s

strong-beard-24103

12/10/2022, 7:32 PM
Haven't had to do that in a while It's
infracost auth login
via the cli I think
j

jolly-pilot-68525

12/10/2022, 7:43 PM
Ah yeah! Closer thanks! I'm hitting a bug in the insider version of vscode with extension signatures, so I had to install the stable release and set everything up again.
w

white-airport-8778

12/10/2022, 8:21 PM
@mysterious-teacher-68276 any ideas?
m

mysterious-teacher-68276

12/10/2022, 8:27 PM
Yeah not sure about this, that link should automatically hit auth login.
@jolly-pilot-68525 what machine/OS are you running on
j

jolly-pilot-68525

12/10/2022, 8:50 PM
I'm on windows but using WSL2 and Gentoo for an OS
I was able to login with the above command, but hitting some other issue now:
Copy code
error: Infracost cmd error trace SyntaxError: Unexpected end of JSON input
debug: setting context infracost:error to Could not run the infracost cmd in the `/home/brett/repos/osinfra-io/google-cloud-kitchen-terraform` directory. This is likely because of a syntax error or invalid project.
m

mysterious-teacher-68276

12/11/2022, 8:19 AM
Hmm ok, this looks like an issue with the
0.2
release. If you downgrade to extension release
v0.1.16
this should start working for you. I’ll send you a private DM with a test binary to help us get to the bottom of this problem in the
0.2
release
3 Views