Skip to content

Instantly share code, notes, and snippets.

@n0531m
Created May 29, 2019 05:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save n0531m/245a0b49282adb73af2b447300f68942 to your computer and use it in GitHub Desktop.
Save n0531m/245a0b49282adb73af2b447300f68942 to your computer and use it in GitHub Desktop.
list GCP zones with Skylake
#!/bin/bash
gcloud --format json compute zones list | jq -r '.[] | select((.availableCpuPlatforms[]) | contains("Intel Skylake")) | .name'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment