Skip to content

Commit 5773898

Browse files
committed
When $LOCATION is explicitly mentioned in resources.properties.location, the Firebase Extension UI hides the default "Cloud Function location" dropdown. So we have to add it manually as a parameter.
1 parent bb0f8e7 commit 5773898

File tree

1 file changed

+100
-0
lines changed

1 file changed

+100
-0
lines changed

extension.yaml

+100
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,106 @@ externalServices:
7171
PricingUri: https://typesense.org/downloads
7272

7373
params:
74+
- param: LOCATION
75+
label: Cloud Functions location
76+
description: >-
77+
Where do you want to deploy the functions created for this extension?
78+
For optimal performance, select a location close to your Firestore database region.
79+
type: select
80+
options:
81+
# North America
82+
- label: us-central1 (Iowa)
83+
value: us-central1
84+
- label: us-east1 (South Carolina)
85+
value: us-east1
86+
- label: us-east4 (Northern Virginia)
87+
value: us-east4
88+
- label: us-east5 (Columbus)
89+
value: us-east5
90+
- label: us-south1 (Dallas)
91+
value: us-south1
92+
- label: us-west1 (Oregon)
93+
value: us-west1
94+
- label: us-west2 (Los Angeles)
95+
value: us-west2
96+
- label: us-west3 (Salt Lake City)
97+
value: us-west3
98+
- label: us-west4 (Las Vegas)
99+
value: us-west4
100+
- label: northamerica-northeast1 (Montreal)
101+
value: northamerica-northeast1
102+
- label: northamerica-northeast2 (Toronto)
103+
value: northamerica-northeast2
104+
105+
# South America
106+
- label: southamerica-east1 (Sao Paulo)
107+
value: southamerica-east1
108+
- label: southamerica-west1 (Santiago)
109+
value: southamerica-west1
110+
111+
# Europe
112+
- label: europe-north1 (Finland)
113+
value: europe-north1
114+
- label: europe-west1 (Belgium)
115+
value: europe-west1
116+
- label: europe-west2 (London)
117+
value: europe-west2
118+
- label: europe-west3 (Frankfurt)
119+
value: europe-west3
120+
- label: europe-west4 (Netherlands)
121+
value: europe-west4
122+
- label: europe-west6 (Zurich)
123+
value: europe-west6
124+
- label: europe-west8 (Milan)
125+
value: europe-west8
126+
- label: europe-west9 (Paris)
127+
value: europe-west9
128+
- label: europe-west10 (Berlin)
129+
value: europe-west10
130+
- label: europe-west12 (Turin)
131+
value: europe-west12
132+
- label: europe-central2 (Warsaw)
133+
value: europe-central2
134+
- label: europe-southwest1 (Madrid)
135+
value: europe-southwest1
136+
137+
# Middle East
138+
- label: me-central1 (Doha)
139+
value: me-central1
140+
- label: me-central2 (Dammam)
141+
value: me-central2
142+
- label: me-west1 (Tel Aviv)
143+
value: me-west1
144+
145+
# Asia
146+
- label: asia-east1 (Taiwan)
147+
value: asia-east1
148+
- label: asia-east2 (Hong Kong)
149+
value: asia-east2
150+
- label: asia-northeast1 (Tokyo)
151+
value: asia-northeast1
152+
- label: asia-northeast2 (Osaka)
153+
value: asia-northeast2
154+
- label: asia-northeast3 (Seoul)
155+
value: asia-northeast3
156+
- label: asia-south1 (Mumbai)
157+
value: asia-south1
158+
- label: asia-south2 (Delhi)
159+
value: asia-south2
160+
- label: asia-southeast1 (Singapore)
161+
value: asia-southeast1
162+
- label: asia-southeast2 (Jakarta)
163+
value: asia-southeast2
164+
165+
# Australia
166+
- label: australia-southeast1 (Sydney)
167+
value: australia-southeast1
168+
- label: australia-southeast2 (Melbourne)
169+
value: australia-southeast2
170+
default: us-central1
171+
required: true
172+
immutable: true
173+
74174
- param: FIRESTORE_DATABASE_REGION
75175
label: Firestore Database region
76176
description: >-

0 commit comments

Comments
 (0)