Skip to content

Commit

Permalink
fix: update constants (#892)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonoh authored Aug 16, 2024
1 parent 00a0901 commit 874352e
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 24 deletions.
8 changes: 8 additions & 0 deletions src/constants/ec2-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,14 @@ export const ec2Info: Record<_InstanceType | string, Ec2InstanceInfo> = {
'g6.4xlarge': { vCpu: 16, memoryGiB: 64, architectures: ['x86_64'] },
'g6.8xlarge': { vCpu: 32, memoryGiB: 128, architectures: ['x86_64'] },
'g6.xlarge': { vCpu: 4, memoryGiB: 16, architectures: ['x86_64'] },
'g6e.12xlarge': { vCpu: 48, memoryGiB: 384, architectures: ['x86_64'] },
'g6e.16xlarge': { vCpu: 64, memoryGiB: 512, architectures: ['x86_64'] },
'g6e.24xlarge': { vCpu: 96, memoryGiB: 768, architectures: ['x86_64'] },
'g6e.2xlarge': { vCpu: 8, memoryGiB: 64, architectures: ['x86_64'] },
'g6e.48xlarge': { vCpu: 192, memoryGiB: 1536, architectures: ['x86_64'] },
'g6e.4xlarge': { vCpu: 16, memoryGiB: 128, architectures: ['x86_64'] },
'g6e.8xlarge': { vCpu: 32, memoryGiB: 256, architectures: ['x86_64'] },
'g6e.xlarge': { vCpu: 4, memoryGiB: 32, architectures: ['x86_64'] },
'gr6.4xlarge': { vCpu: 16, memoryGiB: 128, architectures: ['x86_64'] },
'gr6.8xlarge': { vCpu: 32, memoryGiB: 256, architectures: ['x86_64'] },
'h1.16xlarge': { vCpu: 64, memoryGiB: 256, architectures: ['x86_64'] },
Expand Down
9 changes: 9 additions & 0 deletions src/constants/ec2-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ export const instanceFamilyAcceleratedComputing = [
'g5',
'g5g',
'g6',
'g6e',
'gr6',
'inf1',
'inf2',
Expand Down Expand Up @@ -990,6 +991,14 @@ export const allInstances = [
'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',
Expand Down
50 changes: 26 additions & 24 deletions test/__snapshots__/cli.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -365,15 +365,16 @@ Options:
"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", "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"]
"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 @@ -390,9 +391,9 @@ Options:
"u7i-12tb", "u7ib-12tb", "u7in-16tb", "u7in-24tb", "u7in-32tb", "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"]
"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"]
-s, --size EC2 instance sizes.
[array] [choices: "nano", "micro", "small", "medium", "large", "xlarge",
"2xlarge", "3xlarge", "4xlarge", "6xlarge", "8xlarge", "9xlarge", "10xlarge",
Expand Down Expand Up @@ -810,15 +811,16 @@ Options:
"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", "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"]
"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 @@ -835,9 +837,9 @@ Options:
"u7i-12tb", "u7ib-12tb", "u7in-16tb", "u7in-24tb", "u7in-32tb", "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"]
"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"]
-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 874352e

Please sign in to comment.