Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Google Cloud Run deploy suddenly fails: denied on resource (or it may not exist)

Almost a year ago I created a cloud run service, it's a spring boot/java project. Since then I am regurarly updating this service with new logic by running "gcloud run deploy --source .".

Since this week suddenly this fails with following error:

ERROR: (gcloud.run.deploy) Unable to read the runtimes experiment config: [gs://gcp-runtime-experiments/experiments.yaml], error: Could not read [<googlecloudsdk.api_lib.storage.storage_util.ObjectReference object at 0x000001D098B58E10>]. Please retry: HTTPError 403: XXX@gmail.com does not have storage.objects.get access to the Google Cloud Storage object. Permission 'storage.objects.get' denied on resource (or it may not exist).

I am deploying with the owner rol of the project and the xxx@gmail.com in the message is the owner account.

I have tried several options:

  • Checking the permissions for this user but these have not changed since the beginning, I am the owner and I also gave myself several other permissions to try to solve this (Owner, Storage Admin, Storage Object Admin, Storage Object Creator, Storage Object Viewer)
  • Re-init the project which succeeds but still the error pops up afterwards
  • Giving more permissions to the "1234546789-compute@developer.gserviceaccount.com", but also here nothing was changed to his permissions during the year.

Since I didnt know anymore what to do I created a new project where I wanted to deploy this cloud run project but I am facing the same issue there.

0 1 118
1 REPLY 1

Did you find a solution in the end ?

Top Solution Authors