From 7223a416626cb18da364a1d1f10de6a00f00002b Mon Sep 17 00:00:00 2001 From: hoonoh <2078254+hoonoh@users.noreply.github.com> Date: Thu, 12 Dec 2024 00:17:12 +0000 Subject: [PATCH] fix: update constants --- src/constants/ec2-info.ts | 2 ++ src/constants/ec2-types.ts | 2 ++ test/__snapshots__/cli.spec.ts.snap | 12 ++++++------ 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/constants/ec2-info.ts b/src/constants/ec2-info.ts index d2099e98..791edfcc 100644 --- a/src/constants/ec2-info.ts +++ b/src/constants/ec2-info.ts @@ -219,6 +219,8 @@ export const ec2Info: Record<_InstanceType | string, Ec2InstanceInfo> = { 'f1.16xlarge': { vCpu: 64, memoryGiB: 976, architectures: ['x86_64'] }, 'f1.2xlarge': { vCpu: 8, memoryGiB: 122, architectures: ['x86_64'] }, 'f1.4xlarge': { vCpu: 16, memoryGiB: 244, architectures: ['x86_64'] }, + 'f2.12xlarge': { vCpu: 48, memoryGiB: 512, architectures: ['x86_64'] }, + 'f2.48xlarge': { vCpu: 192, memoryGiB: 2048, architectures: ['x86_64'] }, 'g4ad.16xlarge': { vCpu: 64, memoryGiB: 256, architectures: ['x86_64'] }, 'g4ad.2xlarge': { vCpu: 8, memoryGiB: 32, architectures: ['x86_64'] }, 'g4ad.4xlarge': { vCpu: 16, memoryGiB: 64, architectures: ['x86_64'] }, diff --git a/src/constants/ec2-types.ts b/src/constants/ec2-types.ts index 6e6ad001..7b7f366c 100644 --- a/src/constants/ec2-types.ts +++ b/src/constants/ec2-types.ts @@ -148,6 +148,7 @@ export const instanceFamilyAcceleratedComputing = [ 'p4d', 'p4de', 'p5', + 'p5en', 'trn1', 'trn1n', 'vt1', @@ -1078,6 +1079,7 @@ export const allInstances = [ 'p4d.24xlarge', 'p4de.24xlarge', 'p5.48xlarge', + 'p5en.48xlarge', 'trn1.2xlarge', 'trn1.32xlarge', 'trn1n.32xlarge', diff --git a/test/__snapshots__/cli.spec.ts.snap b/test/__snapshots__/cli.spec.ts.snap index b4977a85..ae000a3f 100644 --- a/test/__snapshots__/cli.spec.ts.snap +++ b/test/__snapshots__/cli.spec.ts.snap @@ -385,8 +385,8 @@ Options: "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", + "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. @@ -407,7 +407,7 @@ Options: "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"] + "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", @@ -842,8 +842,8 @@ Options: "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", + "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. @@ -864,7 +864,7 @@ Options: "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"] + "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",