Is there a way using gcloud or http://metadata.google.internal/ to check that GCE instance is in state "is being deleted" or "is being verified"?
Solved! Go to Solution.
Thanks. I found better solution here: https://cloud.google.com/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups
gcloud compute instance-groups managed list-instances gives output with column "ACTION" and there are statuses like NONE, VERIFYING, DELETING.