I'm trying to deploy from a GCE instance using appcfg.py update . --authenticate_service_account
. No matter how I configure permissions, I always seem to get
RuntimeError: Required scopes ['https://www.googleapis.com/auth/appengine.admin', 'https://www.googleapis.com/auth/
userinfo.email'] missing from ['https://www.googleapis.com/auth/cloud-platform']. This VM instance probably needs t
o be recreated with the missing scopes.
I've tried with
- Instance with "Compute Engine default service account" with "Allow full access to all Cloud APIs" ticked
- Instance with a custom service account with role "App Engine Deployer"
- Instance with a custom service account with role "App Engine Admin"
How can I create a GCE instance with the necessary scopes?
gcloud
makes more sense. – brandones