gcloud CLI config file, ~/. config/gcloud/configurations/config_default could be blank if gcloud init is not run yet. In that case, Goth.Config.get_configuration_data/1 still returns an empty map instead of nil so the fallover to fetching from metadata server would not work.
gcloud
CLI config file,~/. config/gcloud/configurations/config_default
could be blank ifgcloud init
is not run yet. In that case,Goth.Config.get_configuration_data/1
still returns an empty map instead ofnil
so the fallover to fetching from metadata server would not work.