We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cab62ef commit b323e6bCopy full SHA for b323e6b
1 file changed
packages/@aws-cdk/aws-eks/lib/cluster.ts
@@ -2286,8 +2286,8 @@ function nodeTypeForInstanceType(instanceType: ec2.InstanceType) {
2286
function cpuArchForInstanceType(instanceType: ec2.InstanceType) {
2287
return INSTANCE_TYPES.graviton2.includes(instanceType.toString().substring(0, 3)) ? CpuArch.ARM_64 :
2288
INSTANCE_TYPES.graviton3.includes(instanceType.toString().substring(0, 3)) ? CpuArch.ARM_64 :
2289
- INSTANCE_TYPES.graviton.includes(instanceType.toString().substring(0, 2)) ? CpuArch.ARM_64 :
2290
- CpuArch.X86_64;
+ INSTANCE_TYPES.graviton.includes(instanceType.toString().substring(0, 2)) ? CpuArch.ARM_64 :
+ CpuArch.X86_64;
2291
}
2292
2293
function flatten<A>(xss: A[][]): A[] {
0 commit comments