Created
October 9, 2015 16:48
-
-
Save Markbnj/e3ccbd642a40133aed52 to your computer and use it in GitHub Desktop.
Grab Google compute engine project ID into environment variable
This file contains 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 GCLOUD_PROJ=$( gcloud info | awk '$1 == "Project:" {print $2}' | tr -d '[][:space:]' ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment