This message was deleted.
# google-cloud
s
This message was deleted.
p
The error doesn’t happen when using
gcloud
command line tool
t
Yes, a bunch of people hit this earlier, you may find it with search, but I guess the solution was to use a service account
p
That would seem to be the obvious solution but I’ve had no luck with it (
gcloud auth activate-service-account
)
I’m having no trouble creating a cloud function using
gcloud
itself
Ok, it looks like it’s not enough to use
gcloud auth activate-service-account
but instead,
export GOOGLE_CREDENTIALS=$(cat key.json
for Pulumi to use SA credentials
w
@tall-librarian-49374 worth updating your blog post to mention this?
t
w
Ahh - I misread this as being about Cloud Run - I though I recalled folks hitting the same error for that API. But if this is just a broad issue - perhaps we should instead update core Pulumi GCP docs to more strongly encourage service accounts?
t
I actually don’t know how widespread it is… but I think I only saw messages about the Cloud Functions in this Slack.
p
Was this a recent change by GCP?
t
Again I don’t know, I’ve always used service accounts