Skip to content

Commit

Permalink
fix: update constants (#874)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonoh committed Jun 29, 2024
1 parent f7b244d commit 11c9d39
Show file tree
Hide file tree
Showing 3 changed files with 257 additions and 218 deletions.
1 change: 1 addition & 0 deletions src/constants/ec2-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@ export const ec2Info: Record<_InstanceType | string, Ec2InstanceInfo> = {
'm7i.metal-48xl': { vCpu: 192, memoryGiB: 768, architectures: ['x86_64'] },
'm7i.xlarge': { vCpu: 4, memoryGiB: 16, architectures: ['x86_64'] },
'mac1.metal': { vCpu: 12, memoryGiB: 32, architectures: ['x86_64_mac'] },
'mac2-m1ultra.metal': { vCpu: 20, memoryGiB: 128, architectures: ['arm64_mac'] },
'mac2-m2.metal': { vCpu: 8, memoryGiB: 24, architectures: ['arm64_mac'] },
'mac2-m2pro.metal': { vCpu: 12, memoryGiB: 32, architectures: ['arm64_mac'] },
'mac2.metal': { vCpu: 8, memoryGiB: 16, architectures: ['arm64_mac'] },
Expand Down
26 changes: 26 additions & 0 deletions src/constants/ec2-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export const instanceFamilyGeneral = [
'm7i-flex',
'mac1',
'mac2',
'mac2-m1ultra',
'mac2-m2',
'mac2-m2pro',
] as const;
Expand Down Expand Up @@ -82,12 +83,18 @@ export const instanceFamilyMemory = [
'r7gd',
'r7i',
'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',
Expand Down Expand Up @@ -188,6 +195,7 @@ export const instanceSizes = [
'56xlarge',
'96xlarge',
'112xlarge',
'224xlarge',
'metal',
'metal-16xl',
'metal-24xl',
Expand Down Expand Up @@ -426,6 +434,7 @@ export const allInstances = [
'm7i-flex.8xlarge',
'mac1.metal',
'mac2.metal',
'mac2-m1ultra.metal',
'mac2-m2.metal',
'mac2-m2pro.metal',
'c1.medium',
Expand Down Expand Up @@ -797,6 +806,18 @@ export const allInstances = [
'r7iz.32xlarge',
'r7iz.metal-16xl',
'r7iz.metal-32xl',
'r8g.medium',
'r8g.large',
'r8g.xlarge',
'r8g.2xlarge',
'r8g.4xlarge',
'r8g.8xlarge',
'r8g.12xlarge',
'r8g.16xlarge',
'r8g.24xlarge',
'r8g.48xlarge',
'r8g.metal-24xl',
'r8g.metal-48xl',
'u-12tb1.112xlarge',
'u-12tb1.metal',
'u-18tb1.112xlarge',
Expand All @@ -809,6 +830,11 @@ export const allInstances = [
'u-6tb1.metal',
'u-9tb1.112xlarge',
'u-9tb1.metal',
'u7i-12tb.224xlarge',
'u7ib-12tb.224xlarge',
'u7in-16tb.224xlarge',
'u7in-24tb.224xlarge',
'u7in-32tb.224xlarge',
'x1.16xlarge',
'x1.32xlarge',
'x1e.xlarge',
Expand Down
Loading

0 comments on commit 11c9d39

Please sign in to comment.