From 00599c19f62a9e2e68f77f5ab5545b3aff0b6be7 Mon Sep 17 00:00:00 2001 From: Alaister Young Date: Wed, 6 Sep 2023 11:20:29 +1000 Subject: [PATCH] hotfix: disable aws west us region --- studio/lib/constants/infrastructure.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/studio/lib/constants/infrastructure.ts b/studio/lib/constants/infrastructure.ts index f86304825c6..3c344c84d8d 100644 --- a/studio/lib/constants/infrastructure.ts +++ b/studio/lib/constants/infrastructure.ts @@ -6,7 +6,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)', @@ -27,7 +27,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 export const FLY_REGIONS_DEFAULT = FLY_REGIONS.SOUTHEAST_ASIA