App Engine Deployment failure on permission

Hi – could anyone please help with a permissions question?

I’m trying to deploy a simple (python) app from my Gcloud Workstation to the app engine using
$ gcloud app deploy app.yaml

which fails in Step #0 with permission error:

gs://staging.xxx.appspot.com/ae/cb7a13aa-0efb-4fb8-b5e5-7449e1cf410f/manifest.json.
Step #0 - “fetch”: Failed to fetch gs://staging.xxx.appspot.com/ae/cb7a13aa-0efb-4fb8-b5e5-7449e1cf410f/manifest.json, will no longer retry: Access to bucket staging.xxx.appspot.com denied. You must grant Storage Object Viewer permission to 641933001901@cloudbuild.gserviceaccount.com.

How do I grant such permission?

Thanks much!

  1. Go to https://console.cloud.google.com/iam-admin/iam and select your project
  2. Find 641933001901@cloudbuild.gserviceaccount.com. in the table (under View by Principals)
  3. Click the Edit icon under the ‘Permissions’ column
  4. In the popup window, click the link ‘Add another role’
  5. Click to open the drop down list and type in 'Storage Object Viewer ’ in the filter field.

NoCommandLine
https://nocommandline.com

A GUI for Google App Engine

3 Likes

Thanks NoCommandline! Let me try it (including the NoCommandline :wink: