Skip to content

Commit

Permalink
chore: enable ap-east-1 (HKG) region
Browse files Browse the repository at this point in the history
  • Loading branch information
petercwk-aws committed Oct 13, 2023
1 parent 6e944f7 commit 695909f
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/amplify-e2e-core/src/configure/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export const amplifyRegions = [
'eu-west-2',
'eu-west-3',
'eu-central-1',
'ap-east-1',
'ap-northeast-1',
'ap-northeast-2',
'ap-northeast-3',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const Translate = {
'eu-central-1': 'eu-central-1',
'eu-north-1': 'eu-north-1',
'eu-south-1': 'eu-central-1',
'ap-east-1': 'ap-northeast-2',
'ap-northeast-1': 'ap-northeast-1',
'ap-northeast-2': 'ap-northeast-2',
'ap-northeast-3': 'ap-northeast-1',
Expand All @@ -39,6 +40,7 @@ const Polly = {
'eu-central-1': 'eu-central-1',
'eu-north-1': 'eu-north-1',
'eu-south-1': 'eu-central-1',
'ap-east-1': 'ap-east-1',
'ap-northeast-1': 'ap-northeast-1',
'ap-northeast-2': 'ap-northeast-2',
'ap-northeast-3': 'ap-northeast-3',
Expand All @@ -61,6 +63,7 @@ const Transcribe = {
'eu-central-1': 'eu-central-1',
'eu-north-1': 'eu-central-1',
'eu-south-1': 'eu-central-1',
'ap-east-1': 'ap-east-1',
'ap-northeast-1': latestTranscribeRegions >= 1 ? 'ap-northeast-1' : 'ap-northeast-2',
'ap-northeast-2': 'ap-northeast-2',
'ap-northeast-3': 'ap-northeast-1',
Expand All @@ -83,6 +86,7 @@ const Rekognition = {
'eu-central-1': 'eu-central-1',
'eu-north-1': 'eu-central-1',
'eu-south-1': 'eu-central-1',
'ap-east-1': 'ap-northeast-1',
'ap-northeast-1': 'ap-northeast-1',
'ap-northeast-2': 'ap-northeast-2',
'ap-northeast-3': 'ap-northeast-1',
Expand All @@ -105,6 +109,7 @@ const RekognitionAndTextract = {
'eu-central-1': latestTextractRegions >= 1 ? 'eu-central-1' : 'us-east-1',
'eu-north-1': 'eu-central-1',
'eu-south-1': 'eu-central-1',
'ap-east-1': 'ap-northeast-2',
'ap-northeast-1': 'us-east-1',
'ap-northeast-2': latestTextractRegions >= 1 ? 'ap-northeast-2' : 'us-east-1',
'ap-northeast-3': 'ap-northeast-2',
Expand All @@ -127,6 +132,7 @@ const Comprehend = {
'eu-central-1': 'eu-central-1',
'eu-north-1': 'eu-central-1',
'eu-south-1': 'eu-central-1',
'ap-east-1': 'ap-northeast-2',
'ap-northeast-1': latestComprehendRegions >= 1 ? 'ap-northeast-1' : 'us-east-1',
'ap-northeast-2': latestComprehendRegions >= 1 ? 'ap-northeast-2' : 'us-east-1',
'ap-northeast-3': 'ap-northeast-1',
Expand All @@ -149,6 +155,7 @@ const SageMaker = {
'eu-central-1': 'eu-central-1',
'eu-north-1': 'eu-north-1',
'eu-south-1': 'eu-south-1',
'ap-east-1': 'ap-east-1',
'ap-northeast-1': 'ap-northeast-1',
'ap-northeast-2': 'ap-northeast-2',
'ap-northeast-3': 'ap-northeast-3',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const regionMappings = {
'eu-west-2': 'EU (London)',
'eu-west-3': 'EU (Paris)',
'eu-central-1': 'EU (Frankfurt)',
'ap-east-1': 'Asia Pacific (Hong Kong)',
'ap-northeast-1': 'Asia Pacific (Tokyo)',
'ap-northeast-2': 'Asia Pacific (Seoul)',
'ap-northeast-3': 'Asia Pacific (Osaka)',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,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': 'us-west-2',
'ap-northeast-3': 'us-west-2',
'ap-northeast-2': 'us-west-2',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,10 @@ export const adminBackendMap: {
appStateUrl: string;
};
} = {
'ap-east-1': {
amplifyAdminUrl: 'https://ap-east-1.admin.amplifyapp.com',
appStateUrl: 'https://prod.ap-east-1.appstate.amplifyapp.com',
},
'ap-northeast-1': {
amplifyAdminUrl: 'https://ap-northeast-1.admin.amplifyapp.com',
appStateUrl: 'https://prod.ap-northeast-1.appstate.amplifyapp.com',
Expand Down

0 comments on commit 695909f

Please sign in to comment.