Skip to content

Commit

Permalink
fix: update constants (#960)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonoh authored Dec 3, 2024
1 parent 688252d commit fd5848a
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 22 deletions.
1 change: 1 addition & 0 deletions src/constants/ec2-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,7 @@ export const ec2Info: Record<_InstanceType | string, Ec2InstanceInfo> = {
'p4d.24xlarge': { vCpu: 96, memoryGiB: 1152, architectures: ['x86_64'] },
'p5.48xlarge': { vCpu: 192, memoryGiB: 2048, architectures: ['x86_64'] },
'p5e.48xlarge': { vCpu: 192, memoryGiB: 2048, architectures: ['x86_64'] },
'p5en.48xlarge': { vCpu: 192, memoryGiB: 2048, architectures: ['x86_64'] },
'r3.2xlarge': { vCpu: 8, memoryGiB: 61, architectures: ['x86_64'] },
'r3.4xlarge': { vCpu: 16, memoryGiB: 122, architectures: ['x86_64'] },
'r3.8xlarge': { vCpu: 32, memoryGiB: 244, architectures: ['x86_64'] },
Expand Down
10 changes: 10 additions & 0 deletions src/constants/ec2-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export const instanceFamilyStorage = [
'i3en',
'i4g',
'i4i',
'i7ie',
'im4gn',
'is4gen',
] as const;
Expand Down Expand Up @@ -973,6 +974,15 @@ export const allInstances = [
'i4i.24xlarge',
'i4i.32xlarge',
'i4i.metal',
'i7ie.large',
'i7ie.xlarge',
'i7ie.2xlarge',
'i7ie.3xlarge',
'i7ie.6xlarge',
'i7ie.12xlarge',
'i7ie.18xlarge',
'i7ie.24xlarge',
'i7ie.48xlarge',
'im4gn.large',
'im4gn.xlarge',
'im4gn.2xlarge',
Expand Down
48 changes: 26 additions & 22 deletions test/__snapshots__/cli.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -362,13 +362,15 @@ Options:
"i3en.12xlarge", "i3en.24xlarge", "i3en.metal", "i4g.large", "i4g.xlarge",
"i4g.2xlarge", "i4g.4xlarge", "i4g.8xlarge", "i4g.16xlarge", "i4i.large",
"i4i.xlarge", "i4i.2xlarge", "i4i.4xlarge", "i4i.8xlarge", "i4i.12xlarge",
"i4i.16xlarge", "i4i.24xlarge", "i4i.32xlarge", "i4i.metal", "im4gn.large",
"im4gn.xlarge", "im4gn.2xlarge", "im4gn.4xlarge", "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",
"i4i.16xlarge", "i4i.24xlarge", "i4i.32xlarge", "i4i.metal", "i7ie.large",
"i7ie.xlarge", "i7ie.2xlarge", "i7ie.3xlarge", "i7ie.6xlarge",
"i7ie.12xlarge", "i7ie.18xlarge", "i7ie.24xlarge", "i7ie.48xlarge",
"im4gn.large", "im4gn.xlarge", "im4gn.2xlarge", "im4gn.4xlarge",
"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",
Expand Down Expand Up @@ -400,10 +402,10 @@ Options:
"r7iz", "r8g", "u-12tb1", "u-18tb1", "u-24tb1", "u-3tb1", "u-6tb1", "u-9tb1",
"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", "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"]
"h1", "hi1", "hs1", "i2", "i3", "i3en", "i4g", "i4i", "i7ie", "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"]
-s, --size EC2 instance sizes.
[array] [choices: "nano", "micro", "small", "medium", "large", "xlarge",
"2xlarge", "3xlarge", "4xlarge", "6xlarge", "8xlarge", "9xlarge", "10xlarge",
Expand Down Expand Up @@ -815,13 +817,15 @@ Options:
"i3en.12xlarge", "i3en.24xlarge", "i3en.metal", "i4g.large", "i4g.xlarge",
"i4g.2xlarge", "i4g.4xlarge", "i4g.8xlarge", "i4g.16xlarge", "i4i.large",
"i4i.xlarge", "i4i.2xlarge", "i4i.4xlarge", "i4i.8xlarge", "i4i.12xlarge",
"i4i.16xlarge", "i4i.24xlarge", "i4i.32xlarge", "i4i.metal", "im4gn.large",
"im4gn.xlarge", "im4gn.2xlarge", "im4gn.4xlarge", "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",
"i4i.16xlarge", "i4i.24xlarge", "i4i.32xlarge", "i4i.metal", "i7ie.large",
"i7ie.xlarge", "i7ie.2xlarge", "i7ie.3xlarge", "i7ie.6xlarge",
"i7ie.12xlarge", "i7ie.18xlarge", "i7ie.24xlarge", "i7ie.48xlarge",
"im4gn.large", "im4gn.xlarge", "im4gn.2xlarge", "im4gn.4xlarge",
"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",
Expand Down Expand Up @@ -853,10 +857,10 @@ Options:
"r7iz", "r8g", "u-12tb1", "u-18tb1", "u-24tb1", "u-3tb1", "u-6tb1", "u-9tb1",
"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", "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"]
"h1", "hi1", "hs1", "i2", "i3", "i3en", "i4g", "i4i", "i7ie", "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"]
-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 fd5848a

Please sign in to comment.