Skip to content

Commit

Permalink
fix: update ec2-types (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and hoonoh committed Dec 4, 2019
1 parent b9e6aa1 commit 05e1e16
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 15 deletions.
6 changes: 5 additions & 1 deletion src/constants/ec2-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const instanceFamilyMemory = [
'z1d',
] as const;

export const instanceFamilyStorage = ['d2', 'h1', 'i2', 'i3', 'i3en'] as const;
export const instanceFamilyStorage = ['d2', 'h1', 'i2', 'i3', 'i3en', 'inf1'] as const;

export const instanceFamilyAcceleratedComputing = [
'f1',
Expand Down Expand Up @@ -324,6 +324,10 @@ export const allInstances = [
'i3en.12xlarge',
'i3en.24xlarge',
'i3en.metal',
'inf1.xlarge',
'inf1.2xlarge',
'inf1.6xlarge',
'inf1.24xlarge',
'f1.2xlarge',
'f1.4xlarge',
'f1.16xlarge',
Expand Down
30 changes: 16 additions & 14 deletions test/__snapshots__/cli.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -182,20 +182,21 @@ Options:
\\"i2.2xlarge\\", \\"i2.4xlarge\\", \\"i2.8xlarge\\", \\"i3.large\\", \\"i3.xlarge\\",
\\"i3.2xlarge\\", \\"i3.4xlarge\\", \\"i3.8xlarge\\", \\"i3.16xlarge\\", \\"i3.metal\\",
\\"i3en.large\\", \\"i3en.xlarge\\", \\"i3en.2xlarge\\", \\"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\\", \\"p2.xlarge\\", \\"p2.8xlarge\\",
\\"p2.16xlarge\\", \\"p3.2xlarge\\", \\"p3.8xlarge\\", \\"p3.16xlarge\\", \\"p3dn.24xlarge\\"]
\\"i3en.12xlarge\\", \\"i3en.24xlarge\\", \\"i3en.metal\\", \\"inf1.xlarge\\", \\"inf1.2xlarge\\",
\\"inf1.6xlarge\\", \\"inf1.24xlarge\\", \\"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\\", \\"p2.xlarge\\", \\"p2.8xlarge\\", \\"p2.16xlarge\\",
\\"p3.2xlarge\\", \\"p3.8xlarge\\", \\"p3.16xlarge\\", \\"p3dn.24xlarge\\"]
--family EC2 instance family.
[array] [choices: \\"general\\", \\"compute\\", \\"memory\\", \\"storage\\",
\\"acceleratedComputing\\"]
--familyType, -f EC2 instance family types.
[array] [choices: \\"a1\\", \\"t1\\", \\"t2\\", \\"t3\\", \\"t3a\\", \\"m1\\", \\"m2\\", \\"m3\\", \\"m4\\", \\"m5\\",
\\"m5a\\", \\"m5ad\\", \\"m5d\\", \\"m5dn\\", \\"m5n\\", \\"c1\\", \\"c3\\", \\"c4\\", \\"c5\\", \\"c5d\\", \\"c5n\\",
\\"r3\\", \\"r4\\", \\"r5\\", \\"r5a\\", \\"r5ad\\", \\"r5d\\", \\"r5dn\\", \\"r5n\\", \\"x1\\", \\"x1e\\", \\"z1d\\",
\\"d2\\", \\"h1\\", \\"i2\\", \\"i3\\", \\"i3en\\", \\"f1\\", \\"g2\\", \\"g3\\", \\"g3s\\", \\"g4dn\\", \\"p2\\", \\"p3\\",
\\"p3dn\\"]
\\"d2\\", \\"h1\\", \\"i2\\", \\"i3\\", \\"i3en\\", \\"inf1\\", \\"f1\\", \\"g2\\", \\"g3\\", \\"g3s\\", \\"g4dn\\", \\"p2\\",
\\"p3\\", \\"p3dn\\"]
--size, -s EC2 instance sizes.
[array] [choices: \\"nano\\", \\"micro\\", \\"small\\", \\"medium\\", \\"large\\", \\"xlarge\\",
\\"2xlarge\\", \\"3xlarge\\", \\"4xlarge\\", \\"6xlarge\\", \\"8xlarge\\", \\"9xlarge\\", \\"10xlarge\\",
Expand Down Expand Up @@ -451,20 +452,21 @@ Options:
\\"i2.2xlarge\\", \\"i2.4xlarge\\", \\"i2.8xlarge\\", \\"i3.large\\", \\"i3.xlarge\\",
\\"i3.2xlarge\\", \\"i3.4xlarge\\", \\"i3.8xlarge\\", \\"i3.16xlarge\\", \\"i3.metal\\",
\\"i3en.large\\", \\"i3en.xlarge\\", \\"i3en.2xlarge\\", \\"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\\", \\"p2.xlarge\\", \\"p2.8xlarge\\",
\\"p2.16xlarge\\", \\"p3.2xlarge\\", \\"p3.8xlarge\\", \\"p3.16xlarge\\", \\"p3dn.24xlarge\\"]
\\"i3en.12xlarge\\", \\"i3en.24xlarge\\", \\"i3en.metal\\", \\"inf1.xlarge\\", \\"inf1.2xlarge\\",
\\"inf1.6xlarge\\", \\"inf1.24xlarge\\", \\"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\\", \\"p2.xlarge\\", \\"p2.8xlarge\\", \\"p2.16xlarge\\",
\\"p3.2xlarge\\", \\"p3.8xlarge\\", \\"p3.16xlarge\\", \\"p3dn.24xlarge\\"]
--family EC2 instance family.
[array] [choices: \\"general\\", \\"compute\\", \\"memory\\", \\"storage\\",
\\"acceleratedComputing\\"]
--familyType, -f EC2 instance family types.
[array] [choices: \\"a1\\", \\"t1\\", \\"t2\\", \\"t3\\", \\"t3a\\", \\"m1\\", \\"m2\\", \\"m3\\", \\"m4\\", \\"m5\\",
\\"m5a\\", \\"m5ad\\", \\"m5d\\", \\"m5dn\\", \\"m5n\\", \\"c1\\", \\"c3\\", \\"c4\\", \\"c5\\", \\"c5d\\", \\"c5n\\",
\\"r3\\", \\"r4\\", \\"r5\\", \\"r5a\\", \\"r5ad\\", \\"r5d\\", \\"r5dn\\", \\"r5n\\", \\"x1\\", \\"x1e\\", \\"z1d\\",
\\"d2\\", \\"h1\\", \\"i2\\", \\"i3\\", \\"i3en\\", \\"f1\\", \\"g2\\", \\"g3\\", \\"g3s\\", \\"g4dn\\", \\"p2\\", \\"p3\\",
\\"p3dn\\"]
\\"d2\\", \\"h1\\", \\"i2\\", \\"i3\\", \\"i3en\\", \\"inf1\\", \\"f1\\", \\"g2\\", \\"g3\\", \\"g3s\\", \\"g4dn\\", \\"p2\\",
\\"p3\\", \\"p3dn\\"]
--size, -s EC2 instance sizes.
[array] [choices: \\"nano\\", \\"micro\\", \\"small\\", \\"medium\\", \\"large\\", \\"xlarge\\",
\\"2xlarge\\", \\"3xlarge\\", \\"4xlarge\\", \\"6xlarge\\", \\"8xlarge\\", \\"9xlarge\\", \\"10xlarge\\",
Expand Down

0 comments on commit 05e1e16

Please sign in to comment.