We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 979acb4 commit 432d2a7Copy full SHA for 432d2a7
1 file changed
gcp_cloud_function_proxy/deploy.sh
@@ -21,9 +21,13 @@ cd "$srcdir"
21
22
name="proxy"
23
24
+# Cloud Functions not available in all regions yet:
25
+#
26
+# https://cloud.google.com/functions/docs/locations
27
28
# gcloud functions deploy doesn't seem to infer CLOUDSDK_COMPUTE_REGION from environment
29
region="$(gcloud config list --format="value(compute.region)" 2>&1 || :)"
-region="${CLOUDSDK_COMPUTE_REGION:-${region:-europe-west1}}" # not available in all regions yet
30
+region="${CLOUDSDK_COMPUTE_REGION:-${region:-europe-west1}}"
31
32
# https://console.cloud.google.com/marketplace/product/google/vpcaccess.googleapis.com
33
# for serverless VPC access to resources using their Private IPs
0 commit comments