I run the following commands:
gcloud auth activate-service-account --key-file key.json
gcloud config set project my-project
For some reason I am getting this error:
WARNING: You do not appear to have access to project [project] or it does not exist.
I have the following roles on my IAM:
Does anyone know why this would be happening? Is there something specific I am missing?
The solution to this issue might be to enable Cloud Resource Manager
api in your Google Cloud Console. Go to https://console.developers.google.com/apis/api/cloudresourcemanager.googleapis.com/overview?project=<project-id>
and click enable.