Skip to content

Commit

Permalink
fix: update constants (#363)
Browse files Browse the repository at this point in the history
Co-authored-by: hoonoh <[email protected]>
  • Loading branch information
hoonoh and hoonoh authored Jul 29, 2021
1 parent ba5c8a5 commit 053c69e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
2 changes: 2 additions & 0 deletions src/constants/ec2-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,10 @@ export const ec2Info: Record<InstanceType | string, Ec2InstanceInfo> = {
'g3.8xlarge': { vCpu: 32, memoryGiB: 244 },
'g3s.xlarge': { vCpu: 4, memoryGiB: 30.5 },
'g4ad.16xlarge': { vCpu: 64, memoryGiB: 256 },
'g4ad.2xlarge': { vCpu: 8, memoryGiB: 32 },
'g4ad.4xlarge': { vCpu: 16, memoryGiB: 64 },
'g4ad.8xlarge': { vCpu: 32, memoryGiB: 128 },
'g4ad.xlarge': { vCpu: 4, memoryGiB: 16 },
'g4dn.12xlarge': { vCpu: 48, memoryGiB: 192 },
'g4dn.16xlarge': { vCpu: 64, memoryGiB: 256 },
'g4dn.2xlarge': { vCpu: 8, memoryGiB: 32 },
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 @@ -480,6 +480,8 @@ export const allInstances = [
'g3.8xlarge',
'g3.16xlarge',
'g3s.xlarge',
'g4ad.xlarge',
'g4ad.2xlarge',
'g4ad.4xlarge',
'g4ad.8xlarge',
'g4ad.16xlarge',
Expand Down
22 changes: 12 additions & 10 deletions test/__snapshots__/cli.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -241,11 +241,12 @@ Options:
\\"i3en.3xlarge\\", \\"i3en.6xlarge\\", \\"i3en.12xlarge\\", \\"i3en.24xlarge\\",
\\"i3en.metal\\", \\"f1.2xlarge\\", \\"f1.4xlarge\\", \\"f1.16xlarge\\", \\"g2.2xlarge\\",
\\"g2.8xlarge\\", \\"g3.4xlarge\\", \\"g3.8xlarge\\", \\"g3.16xlarge\\", \\"g3s.xlarge\\",
\\"g4ad.4xlarge\\", \\"g4ad.8xlarge\\", \\"g4ad.16xlarge\\", \\"g4dn.xlarge\\",
\\"g4dn.2xlarge\\", \\"g4dn.4xlarge\\", \\"g4dn.8xlarge\\", \\"g4dn.12xlarge\\",
\\"g4dn.16xlarge\\", \\"g4dn.metal\\", \\"inf1.xlarge\\", \\"inf1.2xlarge\\", \\"inf1.6xlarge\\",
\\"inf1.24xlarge\\", \\"p2.xlarge\\", \\"p2.8xlarge\\", \\"p2.16xlarge\\", \\"p3.2xlarge\\",
\\"p3.8xlarge\\", \\"p3.16xlarge\\", \\"p3dn.24xlarge\\", \\"p4d.24xlarge\\"]
\\"g4ad.xlarge\\", \\"g4ad.2xlarge\\", \\"g4ad.4xlarge\\", \\"g4ad.8xlarge\\",
\\"g4ad.16xlarge\\", \\"g4dn.xlarge\\", \\"g4dn.2xlarge\\", \\"g4dn.4xlarge\\",
\\"g4dn.8xlarge\\", \\"g4dn.12xlarge\\", \\"g4dn.16xlarge\\", \\"g4dn.metal\\", \\"inf1.xlarge\\",
\\"inf1.2xlarge\\", \\"inf1.6xlarge\\", \\"inf1.24xlarge\\", \\"p2.xlarge\\", \\"p2.8xlarge\\",
\\"p2.16xlarge\\", \\"p3.2xlarge\\", \\"p3.8xlarge\\", \\"p3.16xlarge\\", \\"p3dn.24xlarge\\",
\\"p4d.24xlarge\\"]
--family EC2 instance family.
[array] [choices: \\"general\\", \\"compute\\", \\"memory\\", \\"storage\\",
\\"acceleratedComputing\\"]
Expand Down Expand Up @@ -539,11 +540,12 @@ Options:
\\"i3en.3xlarge\\", \\"i3en.6xlarge\\", \\"i3en.12xlarge\\", \\"i3en.24xlarge\\",
\\"i3en.metal\\", \\"f1.2xlarge\\", \\"f1.4xlarge\\", \\"f1.16xlarge\\", \\"g2.2xlarge\\",
\\"g2.8xlarge\\", \\"g3.4xlarge\\", \\"g3.8xlarge\\", \\"g3.16xlarge\\", \\"g3s.xlarge\\",
\\"g4ad.4xlarge\\", \\"g4ad.8xlarge\\", \\"g4ad.16xlarge\\", \\"g4dn.xlarge\\",
\\"g4dn.2xlarge\\", \\"g4dn.4xlarge\\", \\"g4dn.8xlarge\\", \\"g4dn.12xlarge\\",
\\"g4dn.16xlarge\\", \\"g4dn.metal\\", \\"inf1.xlarge\\", \\"inf1.2xlarge\\", \\"inf1.6xlarge\\",
\\"inf1.24xlarge\\", \\"p2.xlarge\\", \\"p2.8xlarge\\", \\"p2.16xlarge\\", \\"p3.2xlarge\\",
\\"p3.8xlarge\\", \\"p3.16xlarge\\", \\"p3dn.24xlarge\\", \\"p4d.24xlarge\\"]
\\"g4ad.xlarge\\", \\"g4ad.2xlarge\\", \\"g4ad.4xlarge\\", \\"g4ad.8xlarge\\",
\\"g4ad.16xlarge\\", \\"g4dn.xlarge\\", \\"g4dn.2xlarge\\", \\"g4dn.4xlarge\\",
\\"g4dn.8xlarge\\", \\"g4dn.12xlarge\\", \\"g4dn.16xlarge\\", \\"g4dn.metal\\", \\"inf1.xlarge\\",
\\"inf1.2xlarge\\", \\"inf1.6xlarge\\", \\"inf1.24xlarge\\", \\"p2.xlarge\\", \\"p2.8xlarge\\",
\\"p2.16xlarge\\", \\"p3.2xlarge\\", \\"p3.8xlarge\\", \\"p3.16xlarge\\", \\"p3dn.24xlarge\\",
\\"p4d.24xlarge\\"]
--family EC2 instance family.
[array] [choices: \\"general\\", \\"compute\\", \\"memory\\", \\"storage\\",
\\"acceleratedComputing\\"]
Expand Down

0 comments on commit 053c69e

Please sign in to comment.