File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
gcp_cloud_function_sql_export Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,13 @@ cd "$srcdir"
2222# needed to define the $service_account further down
2323project=" ${CLOUDSDK_CORE_PROJECT:- $(gcloud config list --format=" value(core.project)" )} "
2424
25+ # Cloud Functions not available in all regions yet:
26+ #
27+ # https://cloud.google.com/functions/docs/locations
28+ #
2529# gcloud functions deploy doesn't seem to infer CLOUDSDK_COMPUTE_REGION from environment
2630region=" $( gcloud config list --format=" value(compute.region)" 2>&1 || :) "
27- region=" ${CLOUDSDK_COMPUTE_REGION:- ${region:- europe-west1} } " # not available in all regions yet
31+ region=" ${CLOUDSDK_COMPUTE_REGION:- ${region:- europe-west1} } "
2832
2933name=" cloud-sql-backups"
3034topic=" cloud-sql-backups"
You can’t perform that action at this time.
0 commit comments