Skip to content

Commit

Permalink
fix: update constants (#966)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonoh authored Dec 12, 2024
1 parent 417dacc commit 781973f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
2 changes: 2 additions & 0 deletions src/constants/ec2-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'] },
Expand Down
2 changes: 2 additions & 0 deletions src/constants/ec2-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export const instanceFamilyAcceleratedComputing = [
'p4d',
'p4de',
'p5',
'p5en',
'trn1',
'trn1n',
'vt1',
Expand Down Expand Up @@ -1078,6 +1079,7 @@ export const allInstances = [
'p4d.24xlarge',
'p4de.24xlarge',
'p5.48xlarge',
'p5en.48xlarge',
'trn1.2xlarge',
'trn1.32xlarge',
'trn1n.32xlarge',
Expand Down
12 changes: 6 additions & 6 deletions test/__snapshots__/cli.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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",
Expand Down Expand Up @@ -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.
Expand All @@ -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",
Expand Down

0 comments on commit 781973f

Please sign in to comment.