LinuxCommandLibrary

gcloud-config

Manage different configurations of `gcloud`.

TLDR

Define a property (like compute/zone) for the current configuration

$ gcloud config set [property] [value]
copy


Fetch the value of a gcloud property
$ gcloud config get [property]
copy


Display all the properties for the current configuration
$ gcloud config list
copy


Create a new configuration with a given name
$ gcloud config configurations create [configuration_name]
copy


Display a list of all available configurations
$ gcloud config configurations list
copy


Switch to an existing configuration with a given name
$ gcloud config configurations activate [configuration_name]
copy

Copied to clipboard