We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43eaa6f commit 004d3b1Copy full SHA for 004d3b1
gcp_cloud_function_sql_export/deploy.sh
@@ -22,6 +22,7 @@ cd "$srcdir"
22
# needed to define the $service_account further down
23
project="${CLOUDSDK_CORE_PROJECT:-$(gcloud config list --format="value(core.project)")}"
24
25
+# gcloud functions deploy doesn't seem to infer CLOUDSDK_COMPUTE_REGION from environment
26
region="$(gcloud config list --format="value(compute.region)" 2>&1 || :)"
27
region="${CLOUDSDK_COMPUTE_REGION:-${region:-europe-west1}}" # not available in all regions yet
28
0 commit comments