Skip to content

Commit

Permalink
fix: update ec2-types (#335)
Browse files Browse the repository at this point in the history
Co-authored-by: hoonoh <hoonoh@users.noreply.github.com>
Co-authored-by: hoonoh <hoonoh@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and hoonoh authored Mar 2, 2021
1 parent ebdfa19 commit 9670000
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 @@ -7,6 +7,7 @@ export const allRegions = [
'ap-east-1',
'ap-northeast-1',
'ap-northeast-2',
'ap-northeast-3',
'ap-south-1',
'ap-southeast-1',
'ap-southeast-2',
Expand All @@ -32,6 +33,7 @@ export const defaultRegions: Region[] = [
// 'ap-east-1', // requires opt-in
'ap-northeast-1',
'ap-northeast-2',
'ap-northeast-3',
'ap-south-1',
'ap-southeast-1',
'ap-southeast-2',
Expand All @@ -55,6 +57,7 @@ export const regionNames: Record<Region, string> = {
'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-Local)',
'ap-south-1': 'Asia Pacific (Mumbai)',
'ap-southeast-1': 'Asia Pacific (Singapore)',
'ap-southeast-2': 'Asia Pacific (Sydney)',
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 @@ -162,10 +162,10 @@ Options:
--ui Start with UI mode [boolean] [default: false]
-r, --region AWS regions.
[array] [choices: \\"us-east-1\\", \\"us-east-2\\", \\"us-west-1\\", \\"us-west-2\\",
\\"af-south-1\\", \\"ap-east-1\\", \\"ap-northeast-1\\", \\"ap-northeast-2\\", \\"ap-south-1\\",
\\"ap-southeast-1\\", \\"ap-southeast-2\\", \\"ca-central-1\\", \\"eu-central-1\\",
\\"eu-north-1\\", \\"eu-south-1\\", \\"eu-west-1\\", \\"eu-west-2\\", \\"eu-west-3\\",
\\"me-south-1\\", \\"sa-east-1\\"]
\\"af-south-1\\", \\"ap-east-1\\", \\"ap-northeast-1\\", \\"ap-northeast-2\\",
\\"ap-northeast-3\\", \\"ap-south-1\\", \\"ap-southeast-1\\", \\"ap-southeast-2\\",
\\"ca-central-1\\", \\"eu-central-1\\", \\"eu-north-1\\", \\"eu-south-1\\", \\"eu-west-1\\",
\\"eu-west-2\\", \\"eu-west-3\\", \\"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 @@ -458,10 +458,10 @@ Options:
--ui Start with UI mode [boolean] [default: false]
-r, --region AWS regions.
[array] [choices: \\"us-east-1\\", \\"us-east-2\\", \\"us-west-1\\", \\"us-west-2\\",
\\"af-south-1\\", \\"ap-east-1\\", \\"ap-northeast-1\\", \\"ap-northeast-2\\", \\"ap-south-1\\",
\\"ap-southeast-1\\", \\"ap-southeast-2\\", \\"ca-central-1\\", \\"eu-central-1\\",
\\"eu-north-1\\", \\"eu-south-1\\", \\"eu-west-1\\", \\"eu-west-2\\", \\"eu-west-3\\",
\\"me-south-1\\", \\"sa-east-1\\"]
\\"af-south-1\\", \\"ap-east-1\\", \\"ap-northeast-1\\", \\"ap-northeast-2\\",
\\"ap-northeast-3\\", \\"ap-south-1\\", \\"ap-southeast-1\\", \\"ap-southeast-2\\",
\\"ca-central-1\\", \\"eu-central-1\\", \\"eu-north-1\\", \\"eu-south-1\\", \\"eu-west-1\\",
\\"eu-west-2\\", \\"eu-west-3\\", \\"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 9670000

Please sign in to comment.