Skip to content

Instantly share code, notes, and snippets.

@DevoKun
Created April 24, 2019 22:53
Show Gist options
  • Select an option

  • Save DevoKun/c4dd57fc268b85b81c60691cc4595de4 to your computer and use it in GitHub Desktop.

Select an option

Save DevoKun/c4dd57fc268b85b81c60691cc4595de4 to your computer and use it in GitHub Desktop.

Revisions

  1. DevoKun created this gist Apr 24, 2019.
    7 changes: 7 additions & 0 deletions get_azure_region_codes.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    #!/bin/bash

    # az login

    az account list-locations > azure_locations.json

    cat azure_locations.json | jq '.[] | "\(.name): \(.displayName)"'