Skip to content

Commit 6685bec

Browse files
authored
chore: enable eu-south-1 region (#12042)
Co-authored-by: John Corser <xss@amazon.com>
1 parent bb895e6 commit 6685bec

File tree

6 files changed

+15
-0
lines changed

6 files changed

+15
-0
lines changed

packages/amplify-e2e-core/src/utils/pinpoint.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ const serviceRegionMap = {
3838
'ap-northeast-1': 'ap-northeast-1',
3939
'eu-central-1': 'eu-central-1',
4040
'eu-north-1': 'eu-central-1',
41+
'eu-south-1': 'eu-central-1',
4142
'eu-west-1': 'eu-west-1',
4243
'eu-west-2': 'eu-west-2',
4344
'eu-west-3': 'eu-west-1',

packages/amplify-provider-awscloudformation/src/aws-predictions-regions.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const Translate = {
1616
'eu-west-3': 'eu-west-3',
1717
'eu-central-1': 'eu-central-1',
1818
'eu-north-1': 'eu-north-1',
19+
'eu-south-1': 'eu-central-1',
1920
'ap-northeast-1': 'ap-northeast-1',
2021
'ap-northeast-2': 'ap-northeast-2',
2122
'ap-southeast-1': 'ap-southeast-1',
@@ -36,6 +37,7 @@ const Polly = {
3637
'eu-west-3': 'eu-west-3',
3738
'eu-central-1': 'eu-central-1',
3839
'eu-north-1': 'eu-north-1',
40+
'eu-south-1': 'eu-central-1',
3941
'ap-northeast-1': 'ap-northeast-1',
4042
'ap-northeast-2': 'ap-northeast-2',
4143
'ap-southeast-1': 'ap-southeast-1',
@@ -56,6 +58,7 @@ const Transcribe = {
5658
'eu-west-3': 'eu-west-3',
5759
'eu-central-1': 'eu-central-1',
5860
'eu-north-1': 'eu-central-1',
61+
'eu-south-1': 'eu-central-1',
5962
'ap-northeast-1': latestTranscribeRegions >= 1 ? 'ap-northeast-1' : 'ap-northeast-2',
6063
'ap-northeast-2': 'ap-northeast-2',
6164
'ap-southeast-1': 'ap-southeast-1',
@@ -76,6 +79,7 @@ const Rekognition = {
7679
'eu-west-3': 'eu-west-1',
7780
'eu-central-1': 'eu-central-1',
7881
'eu-north-1': 'eu-central-1',
82+
'eu-south-1': 'eu-central-1',
7983
'ap-northeast-1': 'ap-northeast-1',
8084
'ap-northeast-2': 'ap-northeast-2',
8185
'ap-southeast-1': 'ap-southeast-1',
@@ -96,6 +100,7 @@ const RekognitionAndTextract = {
96100
'eu-west-3': 'eu-west-1',
97101
'eu-central-1': latestTextractRegions >= 1 ? 'eu-central-1' : 'us-east-1',
98102
'eu-north-1': 'eu-central-1',
103+
'eu-south-1': 'eu-central-1',
99104
'ap-northeast-1': 'us-east-1',
100105
'ap-northeast-2': latestTextractRegions >= 1 ? 'ap-northeast-2' : 'us-east-1',
101106
'ap-southeast-1': latestTextractRegions >= 1 ? 'ap-southeast-1' : 'us-east-1',
@@ -116,6 +121,7 @@ const Comprehend = {
116121
'eu-west-3': 'eu-west-1',
117122
'eu-central-1': 'eu-central-1',
118123
'eu-north-1': 'eu-central-1',
124+
'eu-south-1': 'eu-central-1',
119125
'ap-northeast-1': latestComprehendRegions >= 1 ? 'ap-northeast-1' : 'us-east-1',
120126
'ap-northeast-2': latestComprehendRegions >= 1 ? 'ap-northeast-2' : 'us-east-1',
121127
'ap-southeast-1': 'ap-southeast-1',
@@ -136,6 +142,7 @@ const SageMaker = {
136142
'eu-west-3': 'eu-west-3',
137143
'eu-central-1': 'eu-central-1',
138144
'eu-north-1': 'eu-north-1',
145+
'eu-south-1': 'eu-south-1',
139146
'ap-northeast-1': 'ap-northeast-1',
140147
'ap-northeast-2': 'ap-northeast-2',
141148
'ap-southeast-1': 'ap-southeast-1',

packages/amplify-provider-awscloudformation/src/aws-regions.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const regionMappings = {
77
'us-west-1': 'US West (N. California)',
88
'us-west-2': 'US West (Oregon)',
99
'eu-north-1': 'EU (Stockholm)',
10+
'eu-south-1': 'EU (Milan)',
1011
'eu-west-1': 'EU (Ireland)',
1112
'eu-west-2': 'EU (London)',
1213
'eu-west-3': 'EU (Paris)',

packages/amplify-provider-awscloudformation/src/aws-utils/aws-lex.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const serviceRegionMap = {
1818
'ap-northeast-1': 'ap-northeast-1',
1919
'eu-central-1': 'eu-central-1',
2020
'eu-north-1': 'eu-central-1',
21+
'eu-south-1': 'eu-central-1',
2122
'eu-west-1': 'eu-west-1',
2223
'eu-west-2': 'eu-west-2',
2324
'eu-west-3': 'eu-west-1',

packages/amplify-provider-awscloudformation/src/aws-utils/aws-pinpoint.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ function getPinpointRegionMapping() {
6666
'ap-northeast-1': latestPinpointRegions >= 1 ? 'ap-northeast-1' : 'us-west-2',
6767
'eu-central-1': 'eu-central-1',
6868
'eu-north-1': 'eu-central-1',
69+
'eu-south-1': 'eu-central-1',
6970
'eu-west-1': 'eu-west-1',
7071
'eu-west-2': latestPinpointRegions >= 1 ? 'eu-west-2' : 'eu-west-1',
7172
'eu-west-3': 'eu-west-1',

packages/amplify-provider-awscloudformation/src/utils/admin-helpers.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,10 @@ export const adminBackendMap: {
185185
amplifyAdminUrl: 'https://eu-north-1.admin.amplifyapp.com',
186186
appStateUrl: 'https://prod.eu-north-1.appstate.amplifyapp.com',
187187
},
188+
'eu-south-1': {
189+
amplifyAdminUrl: 'https://eu-south-1.admin.amplifyapp.com',
190+
appStateUrl: 'https://prod.eu-south-1.appstate.amplifyapp.com',
191+
},
188192
'eu-west-1': {
189193
amplifyAdminUrl: 'https://eu-west-1.admin.amplifyapp.com',
190194
appStateUrl: 'https://prod.eu-west-1.appstate.amplifyapp.com',

0 commit comments

Comments
 (0)