I am trying to login into pulumi using gcp. it out...
# general
h
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
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
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
Have you set the Pulumi access token?
h
No I did not, the login is done on google cloud.
l
You mean the state's backed is in GCP? Then you need to log into that.
pulumi login gs://...??
apparently.
h
i just updated pulumi and pulumi gcp to the newest version and it works now. such a weird issue
🎉 1