https://pulumi.com logo
#general
Title
# general
h

hundreds-rose-90652

01/18/2022, 10:33 PM
I am trying to login into pulumi using gcp. it outputs the following error: stderr: error: PULUMI_ACCESS_TOKEN must be set for login during non-interactive CLI sessions. Please let me know if there is any thread on it.
l

little-cartoon-10569

01/18/2022, 10:37 PM
The docs on this topic are at this page: https://www.pulumi.com/docs/intro/pulumi-service/accounts/ I thought that the getting-started at this page sorted all this.. have you followed this? https://www.pulumi.com/docs/get-started/gcp/
h

hundreds-rose-90652

01/19/2022, 1:41 AM
Yes, I went throught all the docs. The issue is login gs gives an issue: PULUMI_ACCESS_TOKEN must be set for login during non-interactive CLI sessions
l

little-cartoon-10569

01/19/2022, 1:50 AM
Have you set the Pulumi access token?
h

hundreds-rose-90652

01/19/2022, 2:03 AM
No I did not, the login is done on google cloud.
l

little-cartoon-10569

01/19/2022, 2:12 AM
You mean the state's backed is in GCP? Then you need to log into that.
pulumi login gs://...??
apparently.
h

hundreds-rose-90652

01/19/2022, 2:21 AM
i just updated pulumi and pulumi gcp to the newest version and it works now. such a weird issue
🎉 1
2 Views