You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can simplify ./bin/ahr-env. You currently check the variables $PROJECT and $REGION and then use gcloud config set ...
An easier way is to use the default $CLOUDSDK_COMPUTE_REGION and $CLOUDSDK_CORE_PROJECT . This allows you to skip the config set commands as environment variables have higher precendence.
Hi Yuriy,
You can simplify
./bin/ahr-env
. You currently check the variables$PROJECT
and$REGION
and then usegcloud config set ...
An easier way is to use the default
$CLOUDSDK_COMPUTE_REGION
and$CLOUDSDK_CORE_PROJECT
. This allows you to skip theconfig set
commands as environment variables have higher precendence.Simple example: https://medium.com/@nieldw/using-environment-variables-to-set-gcloud-config-9eb2da7666e7
The text was updated successfully, but these errors were encountered: