We have 20+ projects in GCP, and want to automatically watch their GCE VM instances using gcloud projects list
and gcloud compute instances list
.
So I want a service account which has accesses to these projects.
Is there any easy ways to create such a service account?
I can create IAMs by projects, but it is too hard...