Skip to content

Commit 715d42b

Browse files
authored
feat: Add AL2023 ARM64 NVIDIA variants (#3369)
1 parent 89af98d commit 715d42b

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

modules/_user_data/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ locals {
3434
AL2023_ARM_64_STANDARD = "al2023"
3535
AL2023_x86_64_NEURON = "al2023"
3636
AL2023_x86_64_NVIDIA = "al2023"
37+
AL2023_ARM_64_NVIDIA = "al2023"
3738
}
3839
# Try to use `ami_type` first, but fall back to current, default behavior
3940
# TODO - will be removed in v21.0

modules/eks-managed-node-group/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ locals {
367367
AL2023_ARM_64_STANDARD = "/aws/service/eks/optimized-ami/${local.ssm_cluster_version}/amazon-linux-2023/arm64/standard/recommended/release_version"
368368
AL2023_x86_64_NEURON = "/aws/service/eks/optimized-ami/${local.ssm_cluster_version}/amazon-linux-2023/x86_64/neuron/recommended/release_version"
369369
AL2023_x86_64_NVIDIA = "/aws/service/eks/optimized-ami/${local.ssm_cluster_version}/amazon-linux-2023/x86_64/nvidia/recommended/release_version"
370+
AL2023_ARM_64_NVIDIA = "/aws/service/eks/optimized-ami/${local.ssm_cluster_version}/amazon-linux-2023/arm64/nvidia/recommended/release_version"
370371
}
371372

372373
# The Windows SSM params currently do not have a release version, so we have to get the full output JSON blob and parse out the release version

modules/self-managed-node-group/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ locals {
2828
AL2023_ARM_64_STANDARD = "al2023"
2929
AL2023_x86_64_NEURON = "al2023"
3030
AL2023_x86_64_NVIDIA = "al2023"
31+
AL2023_ARM_64_NVIDIA = "al2023"
3132
}
3233

3334
user_data_type = local.ami_type_to_user_data_type[var.ami_type]
@@ -51,6 +52,7 @@ locals {
5152
AL2023_ARM_64_STANDARD = "/aws/service/eks/optimized-ami/${local.ssm_cluster_version}/amazon-linux-2023/arm64/standard/recommended/image_id"
5253
AL2023_x86_64_NEURON = "/aws/service/eks/optimized-ami/${local.ssm_cluster_version}/amazon-linux-2023/x86_64/neuron/recommended/image_id"
5354
AL2023_x86_64_NVIDIA = "/aws/service/eks/optimized-ami/${local.ssm_cluster_version}/amazon-linux-2023/x86_64/nvidia/recommended/image_id"
55+
AL2023_ARM_64_NVIDIA = "/aws/service/eks/optimized-ami/${local.ssm_cluster_version}/amazon-linux-2023/arm64/nvidia/recommended/image_id"
5456
}
5557
}
5658

0 commit comments

Comments
 (0)