gcloud config set - sets a Cloud SDK property, below gcloud command will set value of project, region and zone for Cloud SDK.
export PROJECT=my-project-id
export ZONE=us-central1-a
export REGION=us-central1
gcloud config set project $PROJECT
gcloud config set compute/region $REGION
gcloud config set compute/zone $ZONE
Category: GCP
Similar Articles