Skip to content

Commit

Permalink
fix: update constants (#683)
Browse files Browse the repository at this point in the history
Co-authored-by: hoonoh <[email protected]>
  • Loading branch information
hoonoh and hoonoh authored Aug 2, 2023
1 parent 39deee6 commit f7a3f7e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
15 changes: 9 additions & 6 deletions src/constants/regions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ export const allRegions = [
'ap-northeast-2',
'ap-northeast-3',
'ap-southeast-1',
'ap-southeast-4',
'ap-southeast-3',
'us-west-1',
'us-west-2',
'ap-south-1',
'ap-south-2',
'ap-southeast-2',
'ap-southeast-3',
'ap-southeast-4',
'ca-central-1',
'eu-central-1',
'eu-central-2',
Expand All @@ -23,6 +23,7 @@ export const allRegions = [
'eu-west-1',
'eu-west-2',
'eu-west-3',
'il-central-1',
'me-central-1',
'me-south-1',
'sa-east-1',
Expand All @@ -39,13 +40,13 @@ export const defaultRegions: Region[] = [
'ap-northeast-2',
'ap-northeast-3',
'ap-southeast-1',
// 'ap-southeast-4', // requires opt-in
// 'ap-southeast-3', // requires opt-in
'us-west-1',
'us-west-2',
'ap-south-1',
// 'ap-south-2', // requires opt-in
'ap-southeast-2',
// 'ap-southeast-3', // requires opt-in
// 'ap-southeast-4', // requires opt-in
'ca-central-1',
'eu-central-1',
// 'eu-central-2', // requires opt-in
Expand All @@ -55,6 +56,7 @@ export const defaultRegions: Region[] = [
'eu-west-1',
'eu-west-2',
'eu-west-3',
// 'il-central-1', // requires opt-in
// 'me-central-1', // requires opt-in
// 'me-south-1', // requires opt-in
'sa-east-1',
Expand All @@ -69,13 +71,13 @@ export const regionNames: Record<Region, string> = {
'ap-northeast-2': 'Asia Pacific (Seoul)',
'ap-northeast-3': 'Asia Pacific (Osaka)',
'ap-southeast-1': 'Asia Pacific (Singapore)',
'ap-southeast-4': 'Asia Pacific (Melbourne)',
'ap-southeast-3': 'Asia Pacific (Jakarta)',
'us-west-1': 'US West (N. California)',
'us-west-2': 'US West (Oregon)',
'ap-south-1': 'Asia Pacific (Mumbai)',
'ap-south-2': 'Asia Pacific (Hyderabad)',
'ap-southeast-2': 'Asia Pacific (Sydney)',
'ap-southeast-3': 'Asia Pacific (Jakarta)',
'ap-southeast-4': 'Asia Pacific (Melbourne)',
'ca-central-1': 'Canada (Central)',
'eu-central-1': 'Europe (Frankfurt)',
'eu-central-2': 'Europe (Zurich)',
Expand All @@ -85,6 +87,7 @@ export const regionNames: Record<Region, string> = {
'eu-west-1': 'Europe (Ireland)',
'eu-west-2': 'Europe (London)',
'eu-west-3': 'Europe (Paris)',
'il-central-1': 'Israel (Tel Aviv)',
'me-central-1': 'Middle East (UAE)',
'me-south-1': 'Middle East (Bahrain)',
'sa-east-1': 'South America (Sao Paulo)',
Expand Down
14 changes: 8 additions & 6 deletions test/__snapshots__/cli.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,11 @@ Options:
-r, --region AWS regions.
[array] [choices: "us-east-1", "us-east-2", "af-south-1", "ap-east-1",
"ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-southeast-1",
"ap-southeast-4", "us-west-1", "us-west-2", "ap-south-1", "ap-south-2",
"ap-southeast-2", "ap-southeast-3", "ca-central-1", "eu-central-1",
"ap-southeast-3", "us-west-1", "us-west-2", "ap-south-1", "ap-south-2",
"ap-southeast-2", "ap-southeast-4", "ca-central-1", "eu-central-1",
"eu-central-2", "eu-north-1", "eu-south-1", "eu-south-2", "eu-west-1",
"eu-west-2", "eu-west-3", "me-central-1", "me-south-1", "sa-east-1"]
"eu-west-2", "eu-west-3", "il-central-1", "me-central-1", "me-south-1",
"sa-east-1"]
-i, --instanceType EC2 type
[array] [choices: "a1.medium", "a1.large", "a1.xlarge", "a1.2xlarge",
"a1.4xlarge", "a1.metal", "t1.micro", "t2.micro", "t2.small", "t2.medium",
Expand Down Expand Up @@ -528,10 +529,11 @@ Options:
-r, --region AWS regions.
[array] [choices: "us-east-1", "us-east-2", "af-south-1", "ap-east-1",
"ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-southeast-1",
"ap-southeast-4", "us-west-1", "us-west-2", "ap-south-1", "ap-south-2",
"ap-southeast-2", "ap-southeast-3", "ca-central-1", "eu-central-1",
"ap-southeast-3", "us-west-1", "us-west-2", "ap-south-1", "ap-south-2",
"ap-southeast-2", "ap-southeast-4", "ca-central-1", "eu-central-1",
"eu-central-2", "eu-north-1", "eu-south-1", "eu-south-2", "eu-west-1",
"eu-west-2", "eu-west-3", "me-central-1", "me-south-1", "sa-east-1"]
"eu-west-2", "eu-west-3", "il-central-1", "me-central-1", "me-south-1",
"sa-east-1"]
-i, --instanceType EC2 type
[array] [choices: "a1.medium", "a1.large", "a1.xlarge", "a1.2xlarge",
"a1.4xlarge", "a1.metal", "t1.micro", "t2.micro", "t2.small", "t2.medium",
Expand Down

0 comments on commit f7a3f7e

Please sign in to comment.