Hi everyone!
We have a script that for each instance group listed under gcloud instance-group list output, we list the instances under it.
We use this command for execution:
gcloud compute instance-groups list-instances <ig_name> --region=<ig_region>
We've found out that when an instance group is a multiple zone(e.g europe-west3 (3/3)), we don't get the instances attached to it, but when it is a single zone (e.g europe-west3-a) we do get the instances attached to it.
Nothing in our script have changed in the last 2 years, I've tried few things like specifying --region, using the instance specific zone, all resulted in "Listed 0 items"
Even using SDK didnt work at all, as when we specified zone="europe-west3" we got invalid parameter, which is the right error as it is a region.
Anyone knows anything about it? Seems like a bug.
Hi, @gsitk.
There seems to be some miscommunication regarding the data you've provided. Could you please confirm the details?
gcloud compute instance-groups list-instances <ig_name> --region=<ig_region> --verbosity=debug
Regards,
Mokit