From 00e5275da6ee3692f8f4c65d3bdfce1dbfe862ae Mon Sep 17 00:00:00 2001 From: Peter Kim Date: Thu, 12 Oct 2023 11:52:31 -0700 Subject: [PATCH] chore: add ap-east-1 (HKG) region --- .../src/provider-utils/supported-datasources.ts | 1 + packages/amplify-e2e-core/src/utils/pinpoint.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/amplify-category-api/src/provider-utils/supported-datasources.ts b/packages/amplify-category-api/src/provider-utils/supported-datasources.ts index 8a3f97707f..97d679ad4e 100644 --- a/packages/amplify-category-api/src/provider-utils/supported-datasources.ts +++ b/packages/amplify-category-api/src/provider-utils/supported-datasources.ts @@ -35,6 +35,7 @@ export const supportedDataSources = { 'us-east-2', 'us-west-1', 'us-west-2', + 'ap-east-1', 'ap-south-1', 'ap-southeast-1', 'ap-southeast-2', diff --git a/packages/amplify-e2e-core/src/utils/pinpoint.ts b/packages/amplify-e2e-core/src/utils/pinpoint.ts index 68f37aff0a..897995e2a3 100644 --- a/packages/amplify-e2e-core/src/utils/pinpoint.ts +++ b/packages/amplify-e2e-core/src/utils/pinpoint.ts @@ -30,6 +30,7 @@ const serviceRegionMap = { 'us-west-2': 'us-west-2', 'cn-north-1': 'us-west-2', 'cn-northwest-1': 'us-west-2', + 'ap-east-1': 'ap-northeast-2', 'ap-south-1': 'ap-south-1', 'ap-northeast-3': 'us-west-2', 'ap-northeast-2': 'ap-northeast-2',