Skip to content

Commit

Permalink
fix: update constants (#962)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonoh authored Dec 5, 2024
1 parent f6d6ebc commit 43054de
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 46 deletions.
9 changes: 9 additions & 0 deletions src/constants/ec2-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ export const instanceFamilyStorage = [
'i4g',
'i4i',
'i7ie',
'i8g',
'im4gn',
'is4gen',
] as const;
Expand Down Expand Up @@ -983,6 +984,14 @@ export const allInstances = [
'i7ie.18xlarge',
'i7ie.24xlarge',
'i7ie.48xlarge',
'i8g.large',
'i8g.xlarge',
'i8g.2xlarge',
'i8g.4xlarge',
'i8g.8xlarge',
'i8g.12xlarge',
'i8g.16xlarge',
'i8g.24xlarge',
'im4gn.large',
'im4gn.xlarge',
'im4gn.2xlarge',
Expand Down
96 changes: 50 additions & 46 deletions test/__snapshots__/cli.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -365,28 +365,30 @@ Options:
"i4i.16xlarge", "i4i.24xlarge", "i4i.32xlarge", "i4i.metal", "i7ie.large",
"i7ie.xlarge", "i7ie.2xlarge", "i7ie.3xlarge", "i7ie.6xlarge",
"i7ie.12xlarge", "i7ie.18xlarge", "i7ie.24xlarge", "i7ie.48xlarge",
"im4gn.large", "im4gn.xlarge", "im4gn.2xlarge", "im4gn.4xlarge",
"im4gn.8xlarge", "im4gn.16xlarge", "is4gen.medium", "is4gen.large",
"is4gen.xlarge", "is4gen.2xlarge", "is4gen.4xlarge", "is4gen.8xlarge",
"dl1.24xlarge", "dl2q.24xlarge", "f1.2xlarge", "f1.4xlarge", "f1.16xlarge",
"g2.2xlarge", "g2.8xlarge", "g3.4xlarge", "g3.8xlarge", "g3.16xlarge",
"g3s.xlarge", "g4ad.xlarge", "g4ad.2xlarge", "g4ad.4xlarge", "g4ad.8xlarge",
"g4ad.16xlarge", "g4dn.xlarge", "g4dn.2xlarge", "g4dn.4xlarge",
"g4dn.8xlarge", "g4dn.12xlarge", "g4dn.16xlarge", "g4dn.metal", "g5.xlarge",
"g5.2xlarge", "g5.4xlarge", "g5.8xlarge", "g5.12xlarge", "g5.16xlarge",
"g5.24xlarge", "g5.48xlarge", "g5g.xlarge", "g5g.2xlarge", "g5g.4xlarge",
"g5g.8xlarge", "g5g.16xlarge", "g5g.metal", "g6.xlarge", "g6.2xlarge",
"g6.4xlarge", "g6.8xlarge", "g6.12xlarge", "g6.16xlarge", "g6.24xlarge",
"g6.48xlarge", "g6e.xlarge", "g6e.2xlarge", "g6e.4xlarge", "g6e.8xlarge",
"g6e.12xlarge", "g6e.16xlarge", "g6e.24xlarge", "g6e.48xlarge", "gr6.4xlarge",
"gr6.8xlarge", "inf1.xlarge", "inf1.2xlarge", "inf1.6xlarge", "inf1.24xlarge",
"inf2.xlarge", "inf2.8xlarge", "inf2.24xlarge", "inf2.48xlarge", "p2.xlarge",
"p2.8xlarge", "p2.16xlarge", "p3.2xlarge", "p3.8xlarge", "p3.16xlarge",
"p3dn.24xlarge", "p4d.24xlarge", "p4de.24xlarge", "p5.48xlarge",
"trn1.2xlarge", "trn1.32xlarge", "trn1n.32xlarge", "vt1.3xlarge",
"vt1.6xlarge", "vt1.24xlarge", "cg1.4xlarge", "hpc6a.48xlarge",
"hpc6id.32xlarge", "hpc7a.12xlarge", "hpc7a.24xlarge", "hpc7a.48xlarge",
"hpc7a.96xlarge", "hpc7g.4xlarge", "hpc7g.8xlarge", "hpc7g.16xlarge"]
"i8g.large", "i8g.xlarge", "i8g.2xlarge", "i8g.4xlarge", "i8g.8xlarge",
"i8g.12xlarge", "i8g.16xlarge", "i8g.24xlarge", "im4gn.large", "im4gn.xlarge",
"im4gn.2xlarge", "im4gn.4xlarge", "im4gn.8xlarge", "im4gn.16xlarge",
"is4gen.medium", "is4gen.large", "is4gen.xlarge", "is4gen.2xlarge",
"is4gen.4xlarge", "is4gen.8xlarge", "dl1.24xlarge", "dl2q.24xlarge",
"f1.2xlarge", "f1.4xlarge", "f1.16xlarge", "g2.2xlarge", "g2.8xlarge",
"g3.4xlarge", "g3.8xlarge", "g3.16xlarge", "g3s.xlarge", "g4ad.xlarge",
"g4ad.2xlarge", "g4ad.4xlarge", "g4ad.8xlarge", "g4ad.16xlarge",
"g4dn.xlarge", "g4dn.2xlarge", "g4dn.4xlarge", "g4dn.8xlarge",
"g4dn.12xlarge", "g4dn.16xlarge", "g4dn.metal", "g5.xlarge", "g5.2xlarge",
"g5.4xlarge", "g5.8xlarge", "g5.12xlarge", "g5.16xlarge", "g5.24xlarge",
"g5.48xlarge", "g5g.xlarge", "g5g.2xlarge", "g5g.4xlarge", "g5g.8xlarge",
"g5g.16xlarge", "g5g.metal", "g6.xlarge", "g6.2xlarge", "g6.4xlarge",
"g6.8xlarge", "g6.12xlarge", "g6.16xlarge", "g6.24xlarge", "g6.48xlarge",
"g6e.xlarge", "g6e.2xlarge", "g6e.4xlarge", "g6e.8xlarge", "g6e.12xlarge",
"g6e.16xlarge", "g6e.24xlarge", "g6e.48xlarge", "gr6.4xlarge", "gr6.8xlarge",
"inf1.xlarge", "inf1.2xlarge", "inf1.6xlarge", "inf1.24xlarge", "inf2.xlarge",
"inf2.8xlarge", "inf2.24xlarge", "inf2.48xlarge", "p2.xlarge", "p2.8xlarge",
"p2.16xlarge", "p3.2xlarge", "p3.8xlarge", "p3.16xlarge", "p3dn.24xlarge",
"p4d.24xlarge", "p4de.24xlarge", "p5.48xlarge", "trn1.2xlarge",
"trn1.32xlarge", "trn1n.32xlarge", "vt1.3xlarge", "vt1.6xlarge",
"vt1.24xlarge", "cg1.4xlarge", "hpc6a.48xlarge", "hpc6id.32xlarge",
"hpc7a.12xlarge", "hpc7a.24xlarge", "hpc7a.48xlarge", "hpc7a.96xlarge",
"hpc7g.4xlarge", "hpc7g.8xlarge", "hpc7g.16xlarge"]
--family EC2 instance family.
[array] [choices: "general", "compute", "memory", "storage",
"acceleratedComputing", "hpcOptimized"]
Expand All @@ -402,7 +404,7 @@ Options:
"r7iz", "r8g", "u-12tb1", "u-18tb1", "u-24tb1", "u-3tb1", "u-6tb1", "u-9tb1",
"u7i-12tb", "u7ib-12tb", "u7in-16tb", "u7in-24tb", "u7in-32tb", "x1", "x1e",
"x2gd", "x2idn", "x2iedn", "x2iezn", "x8g", "z1d", "cr1", "d2", "d3", "d3en",
"h1", "hi1", "hs1", "i2", "i3", "i3en", "i4g", "i4i", "i7ie", "im4gn",
"h1", "hi1", "hs1", "i2", "i3", "i3en", "i4g", "i4i", "i7ie", "i8g", "im4gn",
"is4gen", "dl1", "dl2q", "f1", "g2", "g3", "g3s", "g4ad", "g4dn", "g5", "g5g",
"g6", "g6e", "gr6", "inf1", "inf2", "p2", "p3", "p3dn", "p4d", "p4de", "p5",
"trn1", "trn1n", "vt1", "cg1", "hpc6a", "hpc6id", "hpc7a", "hpc7g"]
Expand Down Expand Up @@ -820,28 +822,30 @@ Options:
"i4i.16xlarge", "i4i.24xlarge", "i4i.32xlarge", "i4i.metal", "i7ie.large",
"i7ie.xlarge", "i7ie.2xlarge", "i7ie.3xlarge", "i7ie.6xlarge",
"i7ie.12xlarge", "i7ie.18xlarge", "i7ie.24xlarge", "i7ie.48xlarge",
"im4gn.large", "im4gn.xlarge", "im4gn.2xlarge", "im4gn.4xlarge",
"im4gn.8xlarge", "im4gn.16xlarge", "is4gen.medium", "is4gen.large",
"is4gen.xlarge", "is4gen.2xlarge", "is4gen.4xlarge", "is4gen.8xlarge",
"dl1.24xlarge", "dl2q.24xlarge", "f1.2xlarge", "f1.4xlarge", "f1.16xlarge",
"g2.2xlarge", "g2.8xlarge", "g3.4xlarge", "g3.8xlarge", "g3.16xlarge",
"g3s.xlarge", "g4ad.xlarge", "g4ad.2xlarge", "g4ad.4xlarge", "g4ad.8xlarge",
"g4ad.16xlarge", "g4dn.xlarge", "g4dn.2xlarge", "g4dn.4xlarge",
"g4dn.8xlarge", "g4dn.12xlarge", "g4dn.16xlarge", "g4dn.metal", "g5.xlarge",
"g5.2xlarge", "g5.4xlarge", "g5.8xlarge", "g5.12xlarge", "g5.16xlarge",
"g5.24xlarge", "g5.48xlarge", "g5g.xlarge", "g5g.2xlarge", "g5g.4xlarge",
"g5g.8xlarge", "g5g.16xlarge", "g5g.metal", "g6.xlarge", "g6.2xlarge",
"g6.4xlarge", "g6.8xlarge", "g6.12xlarge", "g6.16xlarge", "g6.24xlarge",
"g6.48xlarge", "g6e.xlarge", "g6e.2xlarge", "g6e.4xlarge", "g6e.8xlarge",
"g6e.12xlarge", "g6e.16xlarge", "g6e.24xlarge", "g6e.48xlarge", "gr6.4xlarge",
"gr6.8xlarge", "inf1.xlarge", "inf1.2xlarge", "inf1.6xlarge", "inf1.24xlarge",
"inf2.xlarge", "inf2.8xlarge", "inf2.24xlarge", "inf2.48xlarge", "p2.xlarge",
"p2.8xlarge", "p2.16xlarge", "p3.2xlarge", "p3.8xlarge", "p3.16xlarge",
"p3dn.24xlarge", "p4d.24xlarge", "p4de.24xlarge", "p5.48xlarge",
"trn1.2xlarge", "trn1.32xlarge", "trn1n.32xlarge", "vt1.3xlarge",
"vt1.6xlarge", "vt1.24xlarge", "cg1.4xlarge", "hpc6a.48xlarge",
"hpc6id.32xlarge", "hpc7a.12xlarge", "hpc7a.24xlarge", "hpc7a.48xlarge",
"hpc7a.96xlarge", "hpc7g.4xlarge", "hpc7g.8xlarge", "hpc7g.16xlarge"]
"i8g.large", "i8g.xlarge", "i8g.2xlarge", "i8g.4xlarge", "i8g.8xlarge",
"i8g.12xlarge", "i8g.16xlarge", "i8g.24xlarge", "im4gn.large", "im4gn.xlarge",
"im4gn.2xlarge", "im4gn.4xlarge", "im4gn.8xlarge", "im4gn.16xlarge",
"is4gen.medium", "is4gen.large", "is4gen.xlarge", "is4gen.2xlarge",
"is4gen.4xlarge", "is4gen.8xlarge", "dl1.24xlarge", "dl2q.24xlarge",
"f1.2xlarge", "f1.4xlarge", "f1.16xlarge", "g2.2xlarge", "g2.8xlarge",
"g3.4xlarge", "g3.8xlarge", "g3.16xlarge", "g3s.xlarge", "g4ad.xlarge",
"g4ad.2xlarge", "g4ad.4xlarge", "g4ad.8xlarge", "g4ad.16xlarge",
"g4dn.xlarge", "g4dn.2xlarge", "g4dn.4xlarge", "g4dn.8xlarge",
"g4dn.12xlarge", "g4dn.16xlarge", "g4dn.metal", "g5.xlarge", "g5.2xlarge",
"g5.4xlarge", "g5.8xlarge", "g5.12xlarge", "g5.16xlarge", "g5.24xlarge",
"g5.48xlarge", "g5g.xlarge", "g5g.2xlarge", "g5g.4xlarge", "g5g.8xlarge",
"g5g.16xlarge", "g5g.metal", "g6.xlarge", "g6.2xlarge", "g6.4xlarge",
"g6.8xlarge", "g6.12xlarge", "g6.16xlarge", "g6.24xlarge", "g6.48xlarge",
"g6e.xlarge", "g6e.2xlarge", "g6e.4xlarge", "g6e.8xlarge", "g6e.12xlarge",
"g6e.16xlarge", "g6e.24xlarge", "g6e.48xlarge", "gr6.4xlarge", "gr6.8xlarge",
"inf1.xlarge", "inf1.2xlarge", "inf1.6xlarge", "inf1.24xlarge", "inf2.xlarge",
"inf2.8xlarge", "inf2.24xlarge", "inf2.48xlarge", "p2.xlarge", "p2.8xlarge",
"p2.16xlarge", "p3.2xlarge", "p3.8xlarge", "p3.16xlarge", "p3dn.24xlarge",
"p4d.24xlarge", "p4de.24xlarge", "p5.48xlarge", "trn1.2xlarge",
"trn1.32xlarge", "trn1n.32xlarge", "vt1.3xlarge", "vt1.6xlarge",
"vt1.24xlarge", "cg1.4xlarge", "hpc6a.48xlarge", "hpc6id.32xlarge",
"hpc7a.12xlarge", "hpc7a.24xlarge", "hpc7a.48xlarge", "hpc7a.96xlarge",
"hpc7g.4xlarge", "hpc7g.8xlarge", "hpc7g.16xlarge"]
--family EC2 instance family.
[array] [choices: "general", "compute", "memory", "storage",
"acceleratedComputing", "hpcOptimized"]
Expand All @@ -857,7 +861,7 @@ Options:
"r7iz", "r8g", "u-12tb1", "u-18tb1", "u-24tb1", "u-3tb1", "u-6tb1", "u-9tb1",
"u7i-12tb", "u7ib-12tb", "u7in-16tb", "u7in-24tb", "u7in-32tb", "x1", "x1e",
"x2gd", "x2idn", "x2iedn", "x2iezn", "x8g", "z1d", "cr1", "d2", "d3", "d3en",
"h1", "hi1", "hs1", "i2", "i3", "i3en", "i4g", "i4i", "i7ie", "im4gn",
"h1", "hi1", "hs1", "i2", "i3", "i3en", "i4g", "i4i", "i7ie", "i8g", "im4gn",
"is4gen", "dl1", "dl2q", "f1", "g2", "g3", "g3s", "g4ad", "g4dn", "g5", "g5g",
"g6", "g6e", "gr6", "inf1", "inf2", "p2", "p3", "p3dn", "p4d", "p4de", "p5",
"trn1", "trn1n", "vt1", "cg1", "hpc6a", "hpc6id", "hpc7a", "hpc7g"]
Expand Down

0 comments on commit 43054de

Please sign in to comment.