Skip to content

Commit

Permalink
fix: update ec2-types (#315)
Browse files Browse the repository at this point in the history
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: hoonoh <hoonoh@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and hoonoh authored Dec 10, 2020
1 parent ddc517d commit 4048cb3
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 10 deletions.
3 changes: 3 additions & 0 deletions src/constants/ec2-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ export const ec2Info: Record<InstanceType | string, Ec2InstanceInfo> = {
'g3.4xlarge': { vCpu: 16, memoryGiB: 122 },
'g3.8xlarge': { vCpu: 32, memoryGiB: 244 },
'g3s.xlarge': { vCpu: 4, memoryGiB: 30.5 },
'g4ad.16xlarge': { vCpu: 64, memoryGiB: 256 },
'g4ad.4xlarge': { vCpu: 16, memoryGiB: 64 },
'g4ad.8xlarge': { vCpu: 32, memoryGiB: 128 },
'g4dn.12xlarge': { vCpu: 48, memoryGiB: 192 },
'g4dn.16xlarge': { vCpu: 64, memoryGiB: 256 },
'g4dn.2xlarge': { vCpu: 8, memoryGiB: 32 },
Expand Down
4 changes: 4 additions & 0 deletions src/constants/ec2-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export const instanceFamilyAcceleratedComputing = [
'g2',
'g3',
'g3s',
'g4ad',
'g4dn',
'inf1',
'p2',
Expand Down Expand Up @@ -456,6 +457,9 @@ export const allInstances = [
'g3.8xlarge',
'g3.16xlarge',
'g3s.xlarge',
'g4ad.4xlarge',
'g4ad.8xlarge',
'g4ad.16xlarge',
'g4dn.xlarge',
'g4dn.2xlarge',
'g4dn.4xlarge',
Expand Down
22 changes: 12 additions & 10 deletions test/__snapshots__/cli.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,11 @@ Options:
\\"i3en.3xlarge\\", \\"i3en.6xlarge\\", \\"i3en.12xlarge\\", \\"i3en.24xlarge\\",
\\"i3en.metal\\", \\"f1.2xlarge\\", \\"f1.4xlarge\\", \\"f1.16xlarge\\", \\"g2.2xlarge\\",
\\"g2.8xlarge\\", \\"g3.4xlarge\\", \\"g3.8xlarge\\", \\"g3.16xlarge\\", \\"g3s.xlarge\\",
\\"g4dn.xlarge\\", \\"g4dn.2xlarge\\", \\"g4dn.4xlarge\\", \\"g4dn.8xlarge\\",
\\"g4dn.12xlarge\\", \\"g4dn.16xlarge\\", \\"g4dn.metal\\", \\"inf1.xlarge\\", \\"inf1.2xlarge\\",
\\"inf1.6xlarge\\", \\"inf1.24xlarge\\", \\"p2.xlarge\\", \\"p2.8xlarge\\", \\"p2.16xlarge\\",
\\"p3.2xlarge\\", \\"p3.8xlarge\\", \\"p3.16xlarge\\", \\"p3dn.24xlarge\\", \\"p4d.24xlarge\\"]
\\"g4ad.4xlarge\\", \\"g4ad.8xlarge\\", \\"g4ad.16xlarge\\", \\"g4dn.xlarge\\",
\\"g4dn.2xlarge\\", \\"g4dn.4xlarge\\", \\"g4dn.8xlarge\\", \\"g4dn.12xlarge\\",
\\"g4dn.16xlarge\\", \\"g4dn.metal\\", \\"inf1.xlarge\\", \\"inf1.2xlarge\\", \\"inf1.6xlarge\\",
\\"inf1.24xlarge\\", \\"p2.xlarge\\", \\"p2.8xlarge\\", \\"p2.16xlarge\\", \\"p3.2xlarge\\",
\\"p3.8xlarge\\", \\"p3.16xlarge\\", \\"p3dn.24xlarge\\", \\"p4d.24xlarge\\"]
--family EC2 instance family.
[array] [choices: \\"general\\", \\"compute\\", \\"memory\\", \\"storage\\",
\\"acceleratedComputing\\"]
Expand All @@ -250,7 +251,7 @@ Options:
\\"c3\\", \\"c4\\", \\"c5\\", \\"c5a\\", \\"c5ad\\", \\"c5d\\", \\"c5n\\", \\"c6g\\", \\"c6gd\\", \\"r3\\", \\"r4\\",
\\"r5\\", \\"r5a\\", \\"r5ad\\", \\"r5b\\", \\"r5d\\", \\"r5dn\\", \\"r5n\\", \\"r6g\\", \\"r6gd\\", \\"x1\\", \\"x1e\\",
\\"z1d\\", \\"d2\\", \\"d3\\", \\"d3en\\", \\"h1\\", \\"i2\\", \\"i3\\", \\"i3en\\", \\"f1\\", \\"g2\\", \\"g3\\", \\"g3s\\",
\\"g4dn\\", \\"inf1\\", \\"p2\\", \\"p3\\", \\"p3dn\\", \\"p4d\\"]
\\"g4ad\\", \\"g4dn\\", \\"inf1\\", \\"p2\\", \\"p3\\", \\"p3dn\\", \\"p4d\\"]
-s, --size EC2 instance sizes.
[array] [choices: \\"nano\\", \\"micro\\", \\"small\\", \\"medium\\", \\"large\\", \\"xlarge\\",
\\"2xlarge\\", \\"3xlarge\\", \\"4xlarge\\", \\"6xlarge\\", \\"8xlarge\\", \\"9xlarge\\", \\"10xlarge\\",
Expand Down Expand Up @@ -530,10 +531,11 @@ Options:
\\"i3en.3xlarge\\", \\"i3en.6xlarge\\", \\"i3en.12xlarge\\", \\"i3en.24xlarge\\",
\\"i3en.metal\\", \\"f1.2xlarge\\", \\"f1.4xlarge\\", \\"f1.16xlarge\\", \\"g2.2xlarge\\",
\\"g2.8xlarge\\", \\"g3.4xlarge\\", \\"g3.8xlarge\\", \\"g3.16xlarge\\", \\"g3s.xlarge\\",
\\"g4dn.xlarge\\", \\"g4dn.2xlarge\\", \\"g4dn.4xlarge\\", \\"g4dn.8xlarge\\",
\\"g4dn.12xlarge\\", \\"g4dn.16xlarge\\", \\"g4dn.metal\\", \\"inf1.xlarge\\", \\"inf1.2xlarge\\",
\\"inf1.6xlarge\\", \\"inf1.24xlarge\\", \\"p2.xlarge\\", \\"p2.8xlarge\\", \\"p2.16xlarge\\",
\\"p3.2xlarge\\", \\"p3.8xlarge\\", \\"p3.16xlarge\\", \\"p3dn.24xlarge\\", \\"p4d.24xlarge\\"]
\\"g4ad.4xlarge\\", \\"g4ad.8xlarge\\", \\"g4ad.16xlarge\\", \\"g4dn.xlarge\\",
\\"g4dn.2xlarge\\", \\"g4dn.4xlarge\\", \\"g4dn.8xlarge\\", \\"g4dn.12xlarge\\",
\\"g4dn.16xlarge\\", \\"g4dn.metal\\", \\"inf1.xlarge\\", \\"inf1.2xlarge\\", \\"inf1.6xlarge\\",
\\"inf1.24xlarge\\", \\"p2.xlarge\\", \\"p2.8xlarge\\", \\"p2.16xlarge\\", \\"p3.2xlarge\\",
\\"p3.8xlarge\\", \\"p3.16xlarge\\", \\"p3dn.24xlarge\\", \\"p4d.24xlarge\\"]
--family EC2 instance family.
[array] [choices: \\"general\\", \\"compute\\", \\"memory\\", \\"storage\\",
\\"acceleratedComputing\\"]
Expand All @@ -543,7 +545,7 @@ Options:
\\"c3\\", \\"c4\\", \\"c5\\", \\"c5a\\", \\"c5ad\\", \\"c5d\\", \\"c5n\\", \\"c6g\\", \\"c6gd\\", \\"r3\\", \\"r4\\",
\\"r5\\", \\"r5a\\", \\"r5ad\\", \\"r5b\\", \\"r5d\\", \\"r5dn\\", \\"r5n\\", \\"r6g\\", \\"r6gd\\", \\"x1\\", \\"x1e\\",
\\"z1d\\", \\"d2\\", \\"d3\\", \\"d3en\\", \\"h1\\", \\"i2\\", \\"i3\\", \\"i3en\\", \\"f1\\", \\"g2\\", \\"g3\\", \\"g3s\\",
\\"g4dn\\", \\"inf1\\", \\"p2\\", \\"p3\\", \\"p3dn\\", \\"p4d\\"]
\\"g4ad\\", \\"g4dn\\", \\"inf1\\", \\"p2\\", \\"p3\\", \\"p3dn\\", \\"p4d\\"]
-s, --size EC2 instance sizes.
[array] [choices: \\"nano\\", \\"micro\\", \\"small\\", \\"medium\\", \\"large\\", \\"xlarge\\",
\\"2xlarge\\", \\"3xlarge\\", \\"4xlarge\\", \\"6xlarge\\", \\"8xlarge\\", \\"9xlarge\\", \\"10xlarge\\",
Expand Down

0 comments on commit 4048cb3

Please sign in to comment.