From bd12c57394bcbbb0a3d0bed100cda0df4a9048cb Mon Sep 17 00:00:00 2001 From: Joshen Lim Date: Tue, 2 Apr 2024 14:10:57 +0700 Subject: [PATCH] Prevent creating projects in west us --- apps/studio/lib/constants/infrastructure.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/studio/lib/constants/infrastructure.ts b/apps/studio/lib/constants/infrastructure.ts index 6107a01645e..d4b1c257dc8 100644 --- a/apps/studio/lib/constants/infrastructure.ts +++ b/apps/studio/lib/constants/infrastructure.ts @@ -8,7 +8,7 @@ export type Region = typeof AWS_REGIONS | typeof FLY_REGIONS // and are afterward never referred to export const AWS_REGIONS = { - WEST_US: 'West US (North California)', + // WEST_US: 'West US (North California)', EAST_US: 'East US (North Virginia)', CENTRAL_CANADA: 'Canada (Central)', WEST_EU: 'West EU (Ireland)', @@ -31,7 +31,7 @@ export const FLY_REGIONS = { } as const export const AWS_REGIONS_DEFAULT = - process.env.NEXT_PUBLIC_ENVIRONMENT !== 'prod' ? AWS_REGIONS.SOUTHEAST_ASIA : AWS_REGIONS.WEST_US + process.env.NEXT_PUBLIC_ENVIRONMENT !== 'prod' ? AWS_REGIONS.SOUTHEAST_ASIA : AWS_REGIONS.EAST_US // TO DO, change default to US region for prod const FLY_REGIONS_DEFAULT = FLY_REGIONS.SOUTHEAST_ASIA