Skip to content

Commit

Permalink
fix: update constants (#898)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonoh authored Aug 22, 2024
1 parent ce524fa commit 0270cfa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
3 changes: 3 additions & 0 deletions src/constants/regions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const allRegions = [
'us-west-2',
'ap-south-1',
'ap-south-2',
'ap-southeast-5',
'ca-central-1',
'eu-central-1',
'eu-central-2',
Expand Down Expand Up @@ -49,6 +50,7 @@ export const defaultRegions: Region[] = [
'us-west-2',
'ap-south-1',
// 'ap-south-2', // requires opt-in
// 'ap-southeast-5', // requires opt-in
'ca-central-1',
'eu-central-1',
// 'eu-central-2', // requires opt-in
Expand Down Expand Up @@ -81,6 +83,7 @@ export const regionNames: Record<Region, string> = {
'us-west-2': 'US West (Oregon)',
'ap-south-1': 'Asia Pacific (Mumbai)',
'ap-south-2': 'Asia Pacific (Hyderabad)',
'ap-southeast-5': 'Asia Pacific (Malaysia)',
'ca-central-1': 'Canada (Central)',
'eu-central-1': 'Europe (Frankfurt)',
'eu-central-2': 'Europe (Zurich)',
Expand Down
16 changes: 8 additions & 8 deletions test/__snapshots__/cli.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,10 @@ Options:
[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-2", "ap-southeast-3", "ap-southeast-4", "ca-west-1",
"us-west-1", "us-west-2", "ap-south-1", "ap-south-2", "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", "il-central-1", "me-central-1",
"me-south-1", "sa-east-1"]
"us-west-1", "us-west-2", "ap-south-1", "ap-south-2", "ap-southeast-5",
"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", "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.nano", "t2.micro", "t2.small",
Expand Down Expand Up @@ -640,10 +640,10 @@ Options:
[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-2", "ap-southeast-3", "ap-southeast-4", "ca-west-1",
"us-west-1", "us-west-2", "ap-south-1", "ap-south-2", "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", "il-central-1", "me-central-1",
"me-south-1", "sa-east-1"]
"us-west-1", "us-west-2", "ap-south-1", "ap-south-2", "ap-southeast-5",
"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", "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.nano", "t2.micro", "t2.small",
Expand Down

0 comments on commit 0270cfa

Please sign in to comment.