1 Answers
The correct command syntax for this one anyway is:
gcloud compute machine-types list –filter="NAME=f1-micro"
Sign Up Free or Log In to participate!
The way the video describes the command was throwing an error for me. I was able to work it out though, so only posting this if others have the issue.
[worst@symmetra-01 ~]$ gcloud compute machine-types list –filter="NAME=:f1-micro"
ERROR: (gcloud.compute.machine-types.list) Malformed operator [NAME HERE =:f1-micro].
[worst@symmetra-01 ~]$ gcloud compute machine-types list –filter="NAME=f1-micro" <— Leave out the : to make it work
NAME ZONE CPUS MEMORY_GB DEPRECATED
f1-micro europe-west1-b 1 0.60
f1-micro us-central1-a 1 0.60
The correct command syntax for this one anyway is:
gcloud compute machine-types list –filter="NAME=f1-micro"
Psst…this one if you’ve been moved to ACG!