Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Updating from user based configuration file

Whenever I run a bq or gsutil command, I get the below output:

Loading user based configuration file: [/home/reggie/.config/gcloud/properties].
User based configuration files are deprecated and will not be read in a future gcloud release.

What is the alternative, and how do I go about using it?

like image 371
Reggie Pawle Avatar asked Jan 15 '16 14:01

Reggie Pawle


1 Answers

A few months ago, we introduced gcloud 'configurations' which allow you to have multiple sets of gcloud config properties that you can switch between. More information on the topic can be found here: https://cloud.google.com/sdk/gcloud/reference/topic/configurations

The next time you set a property using gcloud config set your legacy config file will be automatically upgraded to a new named configuration and you should stop seeing that message. You can also use

gcloud config configurations create to create a new named configuration.

like image 109
Mark Avatar answered Sep 30 '22 13:09

Mark