-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
[REQUIRED] Environment info
firebase-tools: v12.4.7
Platform: macOS
[REQUIRED] Test case
firebase.json
{
// ...
"hosting": {
"source": ".",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"frameworksBackend": {
"region": "asia-southeast1",
"maxInstances": 1
}
},
// ...
}[REQUIRED] Steps to reproduce
-
Set firebase hosting config as above.
-
Deploy firebase hosting with experiments env
FIREBASE_CLI_EXPERIMENTS="webframeworks,pintags" firebase deploy --only hosting[REQUIRED] Expected behavior
Functions to be deployed successfully since asia-southeast1 supports 2nd gen functions.
[REQUIRED] Actual behavior
Error during deployment due to unsupported allowed SSR region.
Error: Hosting config for site web-app places server-side content in region asia-southeast1 which is not known. Valid regions are us-central1, us-west1, us-east1, europe-west1, and asia-east1
The initial motive of this implementation is stated on this PR #5504. The constant has been refactored into frameworks/constants.ts. However, currently there are more regions that supports 2nd gen functions.
Reference: Cloud Functions supported regions