Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

gcloud switch projects

$ gcloud config get-value project 			# Current project 
$ gcloud projects list						# All projects
gcloud config set project $MY_PROJECT_ID	# Update current project
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #gcloud #switch #projects
ADD COMMENT
Topic
Name
3+7 =