I'm having trouble getting gcloud
to access my project as a service account
- Installed the
gcloud
sdk for Windows on my local machine - Created a new service account on Google Cloud Platform console
- Gave the service account the
Compute Admin
role - Authorized
gcloud
as the service account:gcloud auth activate-service-account --key-file=keyfile.json
- Issued the command
gcloud compute zones list
I get the following error:
ERROR: (gcloud.compute.zones.list) Some requests did not succeed:
- Required 'compute.zones.list' permission for '<project id>'
I verified the Compute Admin
role has the proper compute.zones.list
permission.
What am I missing?