Skip to content

Commit 9051937

Browse files
authored
[FDC] change default region to us-east4 (#9126)
1 parent 95db98f commit 9051937

File tree

2 files changed

+30
-4
lines changed

2 files changed

+30
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Change `dataconnect`'s default region to `us-east4` (#9126)

src/init/features/dataconnect/index.ts

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ async function promptForCloudSQL(setup: Setup, info: RequiredInfo): Promise<void
616616
info.locationId = await select<string>({
617617
message: "What location would like to use?",
618618
choices,
619-
default: "us-central1",
619+
default: "us-east4",
620620
});
621621
info.shouldProvisionCSQL = await confirm({
622622
message: `Would you like to provision your Cloud SQL instance and database now?`,
@@ -649,14 +649,39 @@ async function locationChoices(setup: Setup) {
649649
} else {
650650
// Hardcoded locations for when there is no project set up.
651651
return [
652-
{ name: "us-central1", value: "us-central1" },
653-
{ name: "europe-north1", value: "europe-north1" },
652+
{ name: "asia-east1", value: "asia-east1" },
653+
{ name: "asia-east2", value: "asia-east2" },
654+
{ name: "asia-northeast1", value: "asia-northeast1" },
655+
{ name: "asia-northeast2", value: "asia-northeast2" },
656+
{ name: "asia-northeast3", value: "asia-northeast3" },
657+
{ name: "asia-south1", value: "asia-south1" },
658+
{ name: "asia-southeast1", value: "asia-southeast1" },
659+
{ name: "asia-southeast2", value: "asia-southeast2" },
660+
{ name: "australia-southeast1", value: "australia-southeast1" },
661+
{ name: "australia-southeast2", value: "australia-southeast2" },
654662
{ name: "europe-central2", value: "europe-central2" },
663+
{ name: "europe-north1", value: "europe-north1" },
664+
{ name: "europe-southwest1", value: "europe-southwest1" },
655665
{ name: "europe-west1", value: "europe-west1" },
666+
{ name: "europe-west2", value: "europe-west2" },
667+
{ name: "europe-west3", value: "europe-west3" },
668+
{ name: "europe-west4", value: "europe-west4" },
669+
{ name: "europe-west6", value: "europe-west6" },
670+
{ name: "europe-west8", value: "europe-west8" },
671+
{ name: "europe-west9", value: "europe-west9" },
672+
{ name: "me-west1", value: "me-west1" },
673+
{ name: "northamerica-northeast1", value: "northamerica-northeast1" },
674+
{ name: "northamerica-northeast2", value: "northamerica-northeast2" },
675+
{ name: "southamerica-east1", value: "southamerica-east1" },
656676
{ name: "southamerica-west1", value: "southamerica-west1" },
677+
{ name: "us-central1", value: "us-central1" },
678+
{ name: "us-east1", value: "us-east1" },
657679
{ name: "us-east4", value: "us-east4" },
680+
{ name: "us-south1", value: "us-south1" },
658681
{ name: "us-west1", value: "us-west1" },
659-
{ name: "asia-southeast1", value: "asia-southeast1" },
682+
{ name: "us-west2", value: "us-west2" },
683+
{ name: "us-west3", value: "us-west3" },
684+
{ name: "us-west4", value: "us-west4" },
660685
];
661686
}
662687
}

0 commit comments

Comments
 (0)