I am trying to give access to one of the Team Member only Compute OS Login But I could not able to establish it.
How did I do?
Step 1
In the appropriate project under the IAM I added the user email and given Role for Compute OS Login after that.
Step 2
In terminal tried
# glcoud init
After I have given all the necessary information I tried to log in with gcloud
# gcloud compute ssh sjkeerthi@test-instance -- -p 2020
No zone specified. Using zone [europe-west2-c] for instance: [test-instance].
Updating project ssh metadata...failed.
Updating instance ssh metadata...failed.
ERROR: (gcloud.compute.ssh) Could not add SSH key to instance metadata:
- The user does not have access to service account '1096586xxxxx-compute@developer.gserviceaccount.com'. User: 'sjkeerthi@xxxx.com'. Ask a project owner to grant you the iam.serviceAccountActor role on the service account
Note :- Even I set the under the MetaData enable-oslogin=True