Last active
May 27, 2020 02:47
-
-
Save b0noI/ac21f0cc533deecc62f7e7dfceb8784f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export INSTANCE_NAME="my-instance" | |
gcloud compute instances describe "${INSTANCE_NAME}" --format json | jq '.metadata.items[] | select(.key=="proxy-url") | .value' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
it's not "datalab" anymore
this one works for me
gcloud compute instances describe $INSTANCE_NAME --format json | jq '.metadata.items[] | select(.key=="proxy-url") | .value'