diff --git a/src/constants/ec2-types.ts b/src/constants/ec2-types.ts index d72b014f..80c73974 100644 --- a/src/constants/ec2-types.ts +++ b/src/constants/ec2-types.ts @@ -55,7 +55,6 @@ export const instanceFamilyCompute = [ 'c7gd', 'c7gn', 'c7i', - 'c7i-flex', 'cc1', 'cc2', ] as const; @@ -586,7 +585,6 @@ export const allInstances = [ 'c7gn.8xlarge', 'c7gn.12xlarge', 'c7gn.16xlarge', - 'c7gn.metal', 'c7i.large', 'c7i.xlarge', 'c7i.2xlarge', @@ -598,11 +596,6 @@ export const allInstances = [ 'c7i.48xlarge', 'c7i.metal-24xl', 'c7i.metal-48xl', - 'c7i-flex.large', - 'c7i-flex.xlarge', - 'c7i-flex.2xlarge', - 'c7i-flex.4xlarge', - 'c7i-flex.8xlarge', 'cc1.4xlarge', 'cc2.8xlarge', 'r3.large', @@ -706,8 +699,8 @@ export const allInstances = [ 'r6gd.12xlarge', 'r6gd.16xlarge', 'r6gd.metal', - 'r6i.xlarge', 'r6i.large', + 'r6i.xlarge', 'r6i.2xlarge', 'r6i.4xlarge', 'r6i.8xlarge', diff --git a/test/__snapshots__/cli.spec.ts.snap b/test/__snapshots__/cli.spec.ts.snap index 715c0e83..77bae7ac 100644 --- a/test/__snapshots__/cli.spec.ts.snap +++ b/test/__snapshots__/cli.spec.ts.snap @@ -279,39 +279,38 @@ Options: "c7gd.large", "c7gd.xlarge", "c7gd.2xlarge", "c7gd.4xlarge", "c7gd.8xlarge", "c7gd.12xlarge", "c7gd.16xlarge", "c7gd.metal", "c7gn.medium", "c7gn.large", "c7gn.xlarge", "c7gn.2xlarge", "c7gn.4xlarge", "c7gn.8xlarge", - "c7gn.12xlarge", "c7gn.16xlarge", "c7gn.metal", "c7i.large", "c7i.xlarge", - "c7i.2xlarge", "c7i.4xlarge", "c7i.8xlarge", "c7i.12xlarge", "c7i.16xlarge", - "c7i.24xlarge", "c7i.48xlarge", "c7i.metal-24xl", "c7i.metal-48xl", - "c7i-flex.large", "c7i-flex.xlarge", "c7i-flex.2xlarge", "c7i-flex.4xlarge", - "c7i-flex.8xlarge", "cc1.4xlarge", "cc2.8xlarge", "r3.large", "r3.xlarge", - "r3.2xlarge", "r3.4xlarge", "r3.8xlarge", "r4.large", "r4.xlarge", - "r4.2xlarge", "r4.4xlarge", "r4.8xlarge", "r4.16xlarge", "r5.large", - "r5.xlarge", "r5.2xlarge", "r5.4xlarge", "r5.8xlarge", "r5.12xlarge", - "r5.16xlarge", "r5.24xlarge", "r5.metal", "r5a.large", "r5a.xlarge", - "r5a.2xlarge", "r5a.4xlarge", "r5a.8xlarge", "r5a.12xlarge", "r5a.16xlarge", - "r5a.24xlarge", "r5ad.large", "r5ad.xlarge", "r5ad.2xlarge", "r5ad.4xlarge", - "r5ad.8xlarge", "r5ad.12xlarge", "r5ad.16xlarge", "r5ad.24xlarge", - "r5b.large", "r5b.xlarge", "r5b.2xlarge", "r5b.4xlarge", "r5b.8xlarge", - "r5b.12xlarge", "r5b.16xlarge", "r5b.24xlarge", "r5b.metal", "r5d.large", - "r5d.xlarge", "r5d.2xlarge", "r5d.4xlarge", "r5d.8xlarge", "r5d.12xlarge", - "r5d.16xlarge", "r5d.24xlarge", "r5d.metal", "r5dn.large", "r5dn.xlarge", - "r5dn.2xlarge", "r5dn.4xlarge", "r5dn.8xlarge", "r5dn.12xlarge", - "r5dn.16xlarge", "r5dn.24xlarge", "r5dn.metal", "r5n.large", "r5n.xlarge", - "r5n.2xlarge", "r5n.4xlarge", "r5n.8xlarge", "r5n.12xlarge", "r5n.16xlarge", - "r5n.24xlarge", "r5n.metal", "r6a.large", "r6a.xlarge", "r6a.2xlarge", - "r6a.4xlarge", "r6a.8xlarge", "r6a.12xlarge", "r6a.16xlarge", "r6a.24xlarge", - "r6a.32xlarge", "r6a.48xlarge", "r6a.metal", "r6g.medium", "r6g.large", - "r6g.xlarge", "r6g.2xlarge", "r6g.4xlarge", "r6g.8xlarge", "r6g.12xlarge", - "r6g.16xlarge", "r6g.metal", "r6gd.medium", "r6gd.large", "r6gd.xlarge", - "r6gd.2xlarge", "r6gd.4xlarge", "r6gd.8xlarge", "r6gd.12xlarge", - "r6gd.16xlarge", "r6gd.metal", "r6i.xlarge", "r6i.large", "r6i.2xlarge", - "r6i.4xlarge", "r6i.8xlarge", "r6i.12xlarge", "r6i.16xlarge", "r6i.24xlarge", - "r6i.32xlarge", "r6i.metal", "r6id.large", "r6id.xlarge", "r6id.2xlarge", - "r6id.4xlarge", "r6id.8xlarge", "r6id.12xlarge", "r6id.16xlarge", - "r6id.24xlarge", "r6id.32xlarge", "r6id.metal", "r6idn.large", "r6idn.xlarge", - "r6idn.2xlarge", "r6idn.4xlarge", "r6idn.8xlarge", "r6idn.12xlarge", - "r6idn.16xlarge", "r6idn.24xlarge", "r6idn.32xlarge", "r6idn.metal", - "r6in.large", "r6in.xlarge", "r6in.2xlarge", "r6in.4xlarge", "r6in.8xlarge", + "c7gn.12xlarge", "c7gn.16xlarge", "c7i.large", "c7i.xlarge", "c7i.2xlarge", + "c7i.4xlarge", "c7i.8xlarge", "c7i.12xlarge", "c7i.16xlarge", "c7i.24xlarge", + "c7i.48xlarge", "c7i.metal-24xl", "c7i.metal-48xl", "cc1.4xlarge", + "cc2.8xlarge", "r3.large", "r3.xlarge", "r3.2xlarge", "r3.4xlarge", + "r3.8xlarge", "r4.large", "r4.xlarge", "r4.2xlarge", "r4.4xlarge", + "r4.8xlarge", "r4.16xlarge", "r5.large", "r5.xlarge", "r5.2xlarge", + "r5.4xlarge", "r5.8xlarge", "r5.12xlarge", "r5.16xlarge", "r5.24xlarge", + "r5.metal", "r5a.large", "r5a.xlarge", "r5a.2xlarge", "r5a.4xlarge", + "r5a.8xlarge", "r5a.12xlarge", "r5a.16xlarge", "r5a.24xlarge", "r5ad.large", + "r5ad.xlarge", "r5ad.2xlarge", "r5ad.4xlarge", "r5ad.8xlarge", + "r5ad.12xlarge", "r5ad.16xlarge", "r5ad.24xlarge", "r5b.large", "r5b.xlarge", + "r5b.2xlarge", "r5b.4xlarge", "r5b.8xlarge", "r5b.12xlarge", "r5b.16xlarge", + "r5b.24xlarge", "r5b.metal", "r5d.large", "r5d.xlarge", "r5d.2xlarge", + "r5d.4xlarge", "r5d.8xlarge", "r5d.12xlarge", "r5d.16xlarge", "r5d.24xlarge", + "r5d.metal", "r5dn.large", "r5dn.xlarge", "r5dn.2xlarge", "r5dn.4xlarge", + "r5dn.8xlarge", "r5dn.12xlarge", "r5dn.16xlarge", "r5dn.24xlarge", + "r5dn.metal", "r5n.large", "r5n.xlarge", "r5n.2xlarge", "r5n.4xlarge", + "r5n.8xlarge", "r5n.12xlarge", "r5n.16xlarge", "r5n.24xlarge", "r5n.metal", + "r6a.large", "r6a.xlarge", "r6a.2xlarge", "r6a.4xlarge", "r6a.8xlarge", + "r6a.12xlarge", "r6a.16xlarge", "r6a.24xlarge", "r6a.32xlarge", + "r6a.48xlarge", "r6a.metal", "r6g.medium", "r6g.large", "r6g.xlarge", + "r6g.2xlarge", "r6g.4xlarge", "r6g.8xlarge", "r6g.12xlarge", "r6g.16xlarge", + "r6g.metal", "r6gd.medium", "r6gd.large", "r6gd.xlarge", "r6gd.2xlarge", + "r6gd.4xlarge", "r6gd.8xlarge", "r6gd.12xlarge", "r6gd.16xlarge", + "r6gd.metal", "r6i.large", "r6i.xlarge", "r6i.2xlarge", "r6i.4xlarge", + "r6i.8xlarge", "r6i.12xlarge", "r6i.16xlarge", "r6i.24xlarge", "r6i.32xlarge", + "r6i.metal", "r6id.large", "r6id.xlarge", "r6id.2xlarge", "r6id.4xlarge", + "r6id.8xlarge", "r6id.12xlarge", "r6id.16xlarge", "r6id.24xlarge", + "r6id.32xlarge", "r6id.metal", "r6idn.large", "r6idn.xlarge", "r6idn.2xlarge", + "r6idn.4xlarge", "r6idn.8xlarge", "r6idn.12xlarge", "r6idn.16xlarge", + "r6idn.24xlarge", "r6idn.32xlarge", "r6idn.metal", "r6in.large", + "r6in.xlarge", "r6in.2xlarge", "r6in.4xlarge", "r6in.8xlarge", "r6in.12xlarge", "r6in.16xlarge", "r6in.24xlarge", "r6in.32xlarge", "r6in.metal", "r7a.medium", "r7a.large", "r7a.xlarge", "r7a.2xlarge", "r7a.4xlarge", "r7a.8xlarge", "r7a.12xlarge", "r7a.16xlarge", "r7a.24xlarge", @@ -378,15 +377,15 @@ Options: "m6i", "m6id", "m6idn", "m6in", "m7a", "m7g", "m7gd", "m7i", "m7i-flex", "mac1", "mac2", "mac2-m2", "mac2-m2pro", "c1", "c3", "c4", "c5", "c5a", "c5ad", "c5d", "c5n", "c6a", "c6g", "c6gd", "c6gn", "c6i", "c6id", "c6in", - "c7a", "c7g", "c7gd", "c7gn", "c7i", "c7i-flex", "cc1", "cc2", "r3", "r4", - "r5", "r5a", "r5ad", "r5b", "r5d", "r5dn", "r5n", "r6a", "r6g", "r6gd", "r6i", - "r6id", "r6idn", "r6in", "r7a", "r7g", "r7gd", "r7i", "r7iz", "u-12tb1", - "u-18tb1", "u-24tb1", "u-3tb1", "u-6tb1", "u-9tb1", "x1", "x1e", "x2gd", - "x2idn", "x2iedn", "x2iezn", "z1d", "cr1", "d2", "d3", "d3en", "h1", "hi1", - "hs1", "i2", "i3", "i3en", "i4g", "i4i", "im4gn", "is4gen", "dl1", "dl2q", - "f1", "g2", "g3", "g3s", "g4ad", "g4dn", "g5", "g5g", "g6", "gr6", "inf1", - "inf2", "p2", "p3", "p3dn", "p4d", "p4de", "p5", "trn1", "trn1n", "vt1", - "cg1", "hpc6a", "hpc6id", "hpc7a", "hpc7g"] + "c7a", "c7g", "c7gd", "c7gn", "c7i", "cc1", "cc2", "r3", "r4", "r5", "r5a", + "r5ad", "r5b", "r5d", "r5dn", "r5n", "r6a", "r6g", "r6gd", "r6i", "r6id", + "r6idn", "r6in", "r7a", "r7g", "r7gd", "r7i", "r7iz", "u-12tb1", "u-18tb1", + "u-24tb1", "u-3tb1", "u-6tb1", "u-9tb1", "x1", "x1e", "x2gd", "x2idn", + "x2iedn", "x2iezn", "z1d", "cr1", "d2", "d3", "d3en", "h1", "hi1", "hs1", + "i2", "i3", "i3en", "i4g", "i4i", "im4gn", "is4gen", "dl1", "dl2q", "f1", + "g2", "g3", "g3s", "g4ad", "g4dn", "g5", "g5g", "g6", "gr6", "inf1", "inf2", + "p2", "p3", "p3dn", "p4d", "p4de", "p5", "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", @@ -718,39 +717,38 @@ Options: "c7gd.large", "c7gd.xlarge", "c7gd.2xlarge", "c7gd.4xlarge", "c7gd.8xlarge", "c7gd.12xlarge", "c7gd.16xlarge", "c7gd.metal", "c7gn.medium", "c7gn.large", "c7gn.xlarge", "c7gn.2xlarge", "c7gn.4xlarge", "c7gn.8xlarge", - "c7gn.12xlarge", "c7gn.16xlarge", "c7gn.metal", "c7i.large", "c7i.xlarge", - "c7i.2xlarge", "c7i.4xlarge", "c7i.8xlarge", "c7i.12xlarge", "c7i.16xlarge", - "c7i.24xlarge", "c7i.48xlarge", "c7i.metal-24xl", "c7i.metal-48xl", - "c7i-flex.large", "c7i-flex.xlarge", "c7i-flex.2xlarge", "c7i-flex.4xlarge", - "c7i-flex.8xlarge", "cc1.4xlarge", "cc2.8xlarge", "r3.large", "r3.xlarge", - "r3.2xlarge", "r3.4xlarge", "r3.8xlarge", "r4.large", "r4.xlarge", - "r4.2xlarge", "r4.4xlarge", "r4.8xlarge", "r4.16xlarge", "r5.large", - "r5.xlarge", "r5.2xlarge", "r5.4xlarge", "r5.8xlarge", "r5.12xlarge", - "r5.16xlarge", "r5.24xlarge", "r5.metal", "r5a.large", "r5a.xlarge", - "r5a.2xlarge", "r5a.4xlarge", "r5a.8xlarge", "r5a.12xlarge", "r5a.16xlarge", - "r5a.24xlarge", "r5ad.large", "r5ad.xlarge", "r5ad.2xlarge", "r5ad.4xlarge", - "r5ad.8xlarge", "r5ad.12xlarge", "r5ad.16xlarge", "r5ad.24xlarge", - "r5b.large", "r5b.xlarge", "r5b.2xlarge", "r5b.4xlarge", "r5b.8xlarge", - "r5b.12xlarge", "r5b.16xlarge", "r5b.24xlarge", "r5b.metal", "r5d.large", - "r5d.xlarge", "r5d.2xlarge", "r5d.4xlarge", "r5d.8xlarge", "r5d.12xlarge", - "r5d.16xlarge", "r5d.24xlarge", "r5d.metal", "r5dn.large", "r5dn.xlarge", - "r5dn.2xlarge", "r5dn.4xlarge", "r5dn.8xlarge", "r5dn.12xlarge", - "r5dn.16xlarge", "r5dn.24xlarge", "r5dn.metal", "r5n.large", "r5n.xlarge", - "r5n.2xlarge", "r5n.4xlarge", "r5n.8xlarge", "r5n.12xlarge", "r5n.16xlarge", - "r5n.24xlarge", "r5n.metal", "r6a.large", "r6a.xlarge", "r6a.2xlarge", - "r6a.4xlarge", "r6a.8xlarge", "r6a.12xlarge", "r6a.16xlarge", "r6a.24xlarge", - "r6a.32xlarge", "r6a.48xlarge", "r6a.metal", "r6g.medium", "r6g.large", - "r6g.xlarge", "r6g.2xlarge", "r6g.4xlarge", "r6g.8xlarge", "r6g.12xlarge", - "r6g.16xlarge", "r6g.metal", "r6gd.medium", "r6gd.large", "r6gd.xlarge", - "r6gd.2xlarge", "r6gd.4xlarge", "r6gd.8xlarge", "r6gd.12xlarge", - "r6gd.16xlarge", "r6gd.metal", "r6i.xlarge", "r6i.large", "r6i.2xlarge", - "r6i.4xlarge", "r6i.8xlarge", "r6i.12xlarge", "r6i.16xlarge", "r6i.24xlarge", - "r6i.32xlarge", "r6i.metal", "r6id.large", "r6id.xlarge", "r6id.2xlarge", - "r6id.4xlarge", "r6id.8xlarge", "r6id.12xlarge", "r6id.16xlarge", - "r6id.24xlarge", "r6id.32xlarge", "r6id.metal", "r6idn.large", "r6idn.xlarge", - "r6idn.2xlarge", "r6idn.4xlarge", "r6idn.8xlarge", "r6idn.12xlarge", - "r6idn.16xlarge", "r6idn.24xlarge", "r6idn.32xlarge", "r6idn.metal", - "r6in.large", "r6in.xlarge", "r6in.2xlarge", "r6in.4xlarge", "r6in.8xlarge", + "c7gn.12xlarge", "c7gn.16xlarge", "c7i.large", "c7i.xlarge", "c7i.2xlarge", + "c7i.4xlarge", "c7i.8xlarge", "c7i.12xlarge", "c7i.16xlarge", "c7i.24xlarge", + "c7i.48xlarge", "c7i.metal-24xl", "c7i.metal-48xl", "cc1.4xlarge", + "cc2.8xlarge", "r3.large", "r3.xlarge", "r3.2xlarge", "r3.4xlarge", + "r3.8xlarge", "r4.large", "r4.xlarge", "r4.2xlarge", "r4.4xlarge", + "r4.8xlarge", "r4.16xlarge", "r5.large", "r5.xlarge", "r5.2xlarge", + "r5.4xlarge", "r5.8xlarge", "r5.12xlarge", "r5.16xlarge", "r5.24xlarge", + "r5.metal", "r5a.large", "r5a.xlarge", "r5a.2xlarge", "r5a.4xlarge", + "r5a.8xlarge", "r5a.12xlarge", "r5a.16xlarge", "r5a.24xlarge", "r5ad.large", + "r5ad.xlarge", "r5ad.2xlarge", "r5ad.4xlarge", "r5ad.8xlarge", + "r5ad.12xlarge", "r5ad.16xlarge", "r5ad.24xlarge", "r5b.large", "r5b.xlarge", + "r5b.2xlarge", "r5b.4xlarge", "r5b.8xlarge", "r5b.12xlarge", "r5b.16xlarge", + "r5b.24xlarge", "r5b.metal", "r5d.large", "r5d.xlarge", "r5d.2xlarge", + "r5d.4xlarge", "r5d.8xlarge", "r5d.12xlarge", "r5d.16xlarge", "r5d.24xlarge", + "r5d.metal", "r5dn.large", "r5dn.xlarge", "r5dn.2xlarge", "r5dn.4xlarge", + "r5dn.8xlarge", "r5dn.12xlarge", "r5dn.16xlarge", "r5dn.24xlarge", + "r5dn.metal", "r5n.large", "r5n.xlarge", "r5n.2xlarge", "r5n.4xlarge", + "r5n.8xlarge", "r5n.12xlarge", "r5n.16xlarge", "r5n.24xlarge", "r5n.metal", + "r6a.large", "r6a.xlarge", "r6a.2xlarge", "r6a.4xlarge", "r6a.8xlarge", + "r6a.12xlarge", "r6a.16xlarge", "r6a.24xlarge", "r6a.32xlarge", + "r6a.48xlarge", "r6a.metal", "r6g.medium", "r6g.large", "r6g.xlarge", + "r6g.2xlarge", "r6g.4xlarge", "r6g.8xlarge", "r6g.12xlarge", "r6g.16xlarge", + "r6g.metal", "r6gd.medium", "r6gd.large", "r6gd.xlarge", "r6gd.2xlarge", + "r6gd.4xlarge", "r6gd.8xlarge", "r6gd.12xlarge", "r6gd.16xlarge", + "r6gd.metal", "r6i.large", "r6i.xlarge", "r6i.2xlarge", "r6i.4xlarge", + "r6i.8xlarge", "r6i.12xlarge", "r6i.16xlarge", "r6i.24xlarge", "r6i.32xlarge", + "r6i.metal", "r6id.large", "r6id.xlarge", "r6id.2xlarge", "r6id.4xlarge", + "r6id.8xlarge", "r6id.12xlarge", "r6id.16xlarge", "r6id.24xlarge", + "r6id.32xlarge", "r6id.metal", "r6idn.large", "r6idn.xlarge", "r6idn.2xlarge", + "r6idn.4xlarge", "r6idn.8xlarge", "r6idn.12xlarge", "r6idn.16xlarge", + "r6idn.24xlarge", "r6idn.32xlarge", "r6idn.metal", "r6in.large", + "r6in.xlarge", "r6in.2xlarge", "r6in.4xlarge", "r6in.8xlarge", "r6in.12xlarge", "r6in.16xlarge", "r6in.24xlarge", "r6in.32xlarge", "r6in.metal", "r7a.medium", "r7a.large", "r7a.xlarge", "r7a.2xlarge", "r7a.4xlarge", "r7a.8xlarge", "r7a.12xlarge", "r7a.16xlarge", "r7a.24xlarge", @@ -817,15 +815,15 @@ Options: "m6i", "m6id", "m6idn", "m6in", "m7a", "m7g", "m7gd", "m7i", "m7i-flex", "mac1", "mac2", "mac2-m2", "mac2-m2pro", "c1", "c3", "c4", "c5", "c5a", "c5ad", "c5d", "c5n", "c6a", "c6g", "c6gd", "c6gn", "c6i", "c6id", "c6in", - "c7a", "c7g", "c7gd", "c7gn", "c7i", "c7i-flex", "cc1", "cc2", "r3", "r4", - "r5", "r5a", "r5ad", "r5b", "r5d", "r5dn", "r5n", "r6a", "r6g", "r6gd", "r6i", - "r6id", "r6idn", "r6in", "r7a", "r7g", "r7gd", "r7i", "r7iz", "u-12tb1", - "u-18tb1", "u-24tb1", "u-3tb1", "u-6tb1", "u-9tb1", "x1", "x1e", "x2gd", - "x2idn", "x2iedn", "x2iezn", "z1d", "cr1", "d2", "d3", "d3en", "h1", "hi1", - "hs1", "i2", "i3", "i3en", "i4g", "i4i", "im4gn", "is4gen", "dl1", "dl2q", - "f1", "g2", "g3", "g3s", "g4ad", "g4dn", "g5", "g5g", "g6", "gr6", "inf1", - "inf2", "p2", "p3", "p3dn", "p4d", "p4de", "p5", "trn1", "trn1n", "vt1", - "cg1", "hpc6a", "hpc6id", "hpc7a", "hpc7g"] + "c7a", "c7g", "c7gd", "c7gn", "c7i", "cc1", "cc2", "r3", "r4", "r5", "r5a", + "r5ad", "r5b", "r5d", "r5dn", "r5n", "r6a", "r6g", "r6gd", "r6i", "r6id", + "r6idn", "r6in", "r7a", "r7g", "r7gd", "r7i", "r7iz", "u-12tb1", "u-18tb1", + "u-24tb1", "u-3tb1", "u-6tb1", "u-9tb1", "x1", "x1e", "x2gd", "x2idn", + "x2iedn", "x2iezn", "z1d", "cr1", "d2", "d3", "d3en", "h1", "hi1", "hs1", + "i2", "i3", "i3en", "i4g", "i4i", "im4gn", "is4gen", "dl1", "dl2q", "f1", + "g2", "g3", "g3s", "g4ad", "g4dn", "g5", "g5g", "g6", "gr6", "inf1", "inf2", + "p2", "p3", "p3dn", "p4d", "p4de", "p5", "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",