Skip to content

Commit 105d06b

Browse files
authored
fix(e2e): fix export regions (#244)
1 parent 6d31ac5 commit 105d06b

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

packages/amplify-codegen-e2e-core/src/init/initProjectHelper.ts

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { nspawn as spawn, getCLIPath, singleSelect, addCircleCITags } from '..';
22
import { KEY_DOWN_ARROW, AmplifyFrontend } from '../utils';
3+
import { amplifyRegions } from '../configure';
34

45
const defaultSettings = {
56
name: '\r',
@@ -20,21 +21,6 @@ const defaultSettings = {
2021
providerConfig: undefined
2122
};
2223

23-
export const amplifyRegions = [
24-
'us-east-1',
25-
'us-east-2',
26-
'us-west-2',
27-
'eu-west-1',
28-
'eu-west-2',
29-
'eu-central-1',
30-
'ap-northeast-1',
31-
'ap-northeast-2',
32-
'ap-southeast-1',
33-
'ap-southeast-2',
34-
'ap-south-1',
35-
'ca-central-1',
36-
];
37-
3824
export function initJSProjectWithProfile(cwd: string, settings: Object = {}): Promise<void> {
3925
const s = { ...defaultSettings, ...settings };
4026
let env;

0 commit comments

Comments
 (0)