Cloud Run deploy fails with list regions error

I’m trying to get the Google Cloud Run example running and currently, it is failing with an error saying Unable to list regions for project <project-id>: googleapi: Error 403: The caller does not have permission, forbidden.

I’ve been able to run the gcloud cloud run deploy commands locally and deploy my service manually with the image that waypoint successfully uploaded to Container Registry I just can’t seem to get the deploy phase working

Has anyone else experienced a similar and perhaps clue as to how to fix this?

1 Like

Okay so I’ve managed to get it working but I had to run

gcloud auth application-default login

Not sure if this is the right way to do this? I ended up finding and reading this https://cloud.google.com/docs/authentication/production that lead to me to find that command above

2 Likes

Thanks for the pointer, I’ve contacted the Learn guide people and we’ll get that updated.