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
If a server type has limited availability, add it to the `availability` section:
133
+
The `availability_by_location` section maps which server types are available in each region:
158
134
159
135
```json
160
-
"availability": {
161
-
"ccx63": ["fsn1", "nbg1"], // Only available in these locations
162
-
"*": ["fsn1", "nbg1", "hel1", "ash", "hil"] // Default for all other types
136
+
"availability_by_location": {
137
+
"fsn1": ["cax11", "cpx11", "cx22", "ccx13", ...], // Europe: All types
138
+
"ash": ["cpx11", "ccx13", ...], // USA: Intel + Dedicated only
139
+
"sin": ["cpx11", "ccx13", ...] // Asia: Intel + Dedicated only
163
140
}
164
141
```
165
142
@@ -207,7 +184,12 @@ The template includes:
207
184
208
185
### Server Type Options Change When Selecting Location
209
186
210
-
The template dynamically filters server types based on the selected location. For example, if you select a location where certain dedicated server types aren't available, those options won't appear in the server type dropdown. This prevents configuration errors before they happen.
187
+
This is expected behavior! The template dynamically filters server types based on regional availability:
188
+
189
+
-**Europe (fsn1, nbg1, hel1)**: Shows all server types including ARM (CAX) and AMD (CX)
190
+
-**USA/Asia (ash, hil, sin)**: Shows only Intel (CPX) and Dedicated (CCX) servers
191
+
192
+
This prevents configuration errors by only showing what's actually available in your selected region.
211
193
212
194
### Image Not Found Errors
213
195
@@ -279,12 +261,10 @@ To test this template locally before deployment:
279
261
280
262
4.**Test dynamic filtering**: Try planning with different locations to verify server types filter correctly:
281
263
```bash
282
-
terraform plan -var="location=fsn1"#Should show CCX63
283
-
terraform plan -var="location=ash"#Should NOT show CCX63
264
+
terraform plan -var="location=fsn1"#Europe: Shows ARM (CAX), AMD (CX), Intel (CPX), Dedicated (CCX)
265
+
terraform plan -var="location=ash"#USA: Shows only Intel (CPX) and Dedicated (CCX) - no ARM/AMD
284
266
```
285
267
286
-
See `TEST_GUIDE.md` for detailed testing instructions.
0 commit comments