I am executing the below command to get the list of all instances in a GCP project, but this doesn't display the tags attached to the VMs..! FYI..
gcloud compute instances list
Could you please help here..!
Regards, Rohith
Get the detailed output using gcloud
topic formats:
gcloud compute instances list --format=json
Or
gcloud compute instances list --format='table(name,status,tags.list())'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With