From 4f605377f2152129e9eb940b0c9f3cb217b47cc1 Mon Sep 17 00:00:00 2001 From: Hoon Oh <2078254+hoonoh@users.noreply.github.com> Date: Fri, 13 Dec 2024 09:20:09 +0900 Subject: [PATCH] fix: update constants (#967) --- src/constants/ec2-types.ts | 3 ++ test/__snapshots__/cli.spec.ts.snap | 80 +++++++++++++++-------------- 2 files changed, 45 insertions(+), 38 deletions(-) diff --git a/src/constants/ec2-types.ts b/src/constants/ec2-types.ts index 7b7f366c..da279dc9 100644 --- a/src/constants/ec2-types.ts +++ b/src/constants/ec2-types.ts @@ -130,6 +130,7 @@ export const instanceFamilyAcceleratedComputing = [ 'dl1', 'dl2q', 'f1', + 'f2', 'g2', 'g3', 'g3s', @@ -1011,6 +1012,8 @@ export const allInstances = [ 'f1.2xlarge', 'f1.4xlarge', 'f1.16xlarge', + 'f2.12xlarge', + 'f2.48xlarge', 'g2.2xlarge', 'g2.8xlarge', 'g3.4xlarge', diff --git a/test/__snapshots__/cli.spec.ts.snap b/test/__snapshots__/cli.spec.ts.snap index ae000a3f..485543e5 100644 --- a/test/__snapshots__/cli.spec.ts.snap +++ b/test/__snapshots__/cli.spec.ts.snap @@ -371,22 +371,23 @@ Options: "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", - "p5en.48xlarge", "trn1.2xlarge", "trn1.32xlarge", "trn1n.32xlarge", - "vt1.3xlarge", "vt1.6xlarge", "vt1.24xlarge", "cg1.4xlarge", "hpc6a.48xlarge", + "f2.12xlarge", "f2.48xlarge", "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", "p5en.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. @@ -405,9 +406,10 @@ Options: "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", "i8g", "im4gn", - "is4gen", "dl1", "dl2q", "f1", "g2", "g3", "g3s", "g4ad", "g4dn", "g5", "g5g", - "g6", "g6e", "gr6", "inf1", "inf2", "p2", "p3", "p3dn", "p4d", "p4de", "p5", - "p5en", "trn1", "trn1n", "vt1", "cg1", "hpc6a", "hpc6id", "hpc7a", "hpc7g"] + "is4gen", "dl1", "dl2q", "f1", "f2", "g2", "g3", "g3s", "g4ad", "g4dn", "g5", + "g5g", "g6", "g6e", "gr6", "inf1", "inf2", "p2", "p3", "p3dn", "p4d", "p4de", + "p5", "p5en", "trn1", "trn1n", "vt1", "cg1", "hpc6a", "hpc6id", "hpc7a", + "hpc7g"] -s, --size EC2 instance sizes. [array] [choices: "nano", "micro", "small", "medium", "large", "xlarge", "2xlarge", "3xlarge", "4xlarge", "6xlarge", "8xlarge", "9xlarge", "10xlarge", @@ -828,22 +830,23 @@ Options: "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", - "p5en.48xlarge", "trn1.2xlarge", "trn1.32xlarge", "trn1n.32xlarge", - "vt1.3xlarge", "vt1.6xlarge", "vt1.24xlarge", "cg1.4xlarge", "hpc6a.48xlarge", + "f2.12xlarge", "f2.48xlarge", "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", "p5en.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. @@ -862,9 +865,10 @@ Options: "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", "i8g", "im4gn", - "is4gen", "dl1", "dl2q", "f1", "g2", "g3", "g3s", "g4ad", "g4dn", "g5", "g5g", - "g6", "g6e", "gr6", "inf1", "inf2", "p2", "p3", "p3dn", "p4d", "p4de", "p5", - "p5en", "trn1", "trn1n", "vt1", "cg1", "hpc6a", "hpc6id", "hpc7a", "hpc7g"] + "is4gen", "dl1", "dl2q", "f1", "f2", "g2", "g3", "g3s", "g4ad", "g4dn", "g5", + "g5g", "g6", "g6e", "gr6", "inf1", "inf2", "p2", "p3", "p3dn", "p4d", "p4de", + "p5", "p5en", "trn1", "trn1n", "vt1", "cg1", "hpc6a", "hpc6id", "hpc7a", + "hpc7g"] -s, --size EC2 instance sizes. [array] [choices: "nano", "micro", "small", "medium", "large", "xlarge", "2xlarge", "3xlarge", "4xlarge", "6xlarge", "8xlarge", "9xlarge", "10xlarge",