Skip to content

Commit f14734a

Browse files
committed
fix(eks): migrate AMI types from AL2 to AL2023 for K8s 1.33+ compatibility
AL2_x86_64 is no longer supported for K8s 1.33+. Update all clusters to use AL2023_x86_64_STANDARD (or AL2023_x86_64_NVIDIA for GPU nodes).
1 parent c7fefc2 commit f14734a

26 files changed

Lines changed: 26 additions & 26 deletions

File tree

terraform/eks/addon/gpu/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ variable "k8s_version" {
2323

2424
variable "ami_type" {
2525
type = string
26-
default = "AL2_x86_64_GPU"
26+
default = "AL2023_x86_64_NVIDIA"
2727
}
2828

2929
variable "instance_type" {

terraform/eks/daemon/app_signals/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ resource "aws_eks_node_group" "this" {
5858
min_size = 1
5959
}
6060

61-
ami_type = "AL2_x86_64"
61+
ami_type = "AL2023_x86_64_STANDARD"
6262
capacity_type = "ON_DEMAND"
6363
disk_size = 20
6464
instance_types = ["t3.medium"]

terraform/eks/daemon/app_signals/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ variable "k8s_version" {
2828

2929
variable "ami_type" {
3030
type = string
31-
default = "AL2_x86_64"
31+
default = "AL2023_x86_64_STANDARD"
3232
}
3333

3434
variable "instance_type" {

terraform/eks/daemon/awsneuron/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ resource "aws_eks_node_group" "this" {
5858
min_size = 1
5959
}
6060

61-
ami_type = "AL2_x86_64"
61+
ami_type = "AL2023_x86_64_STANDARD"
6262
capacity_type = "ON_DEMAND"
6363
disk_size = 20
6464
instance_types = ["t3.medium"]

terraform/eks/daemon/awsneuron/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ variable "k8s_version" {
2828

2929
variable "ami_type" {
3030
type = string
31-
default = "AL2_x86_64"
31+
default = "AL2023_x86_64_STANDARD"
3232
}
3333

3434
variable "instance_type" {

terraform/eks/daemon/credentials/pod_identity/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ variable "k8s_version" {
1818

1919
variable "ami_type" {
2020
type = string
21-
default = "AL2_x86_64"
21+
default = "AL2023_x86_64_STANDARD"
2222
}
2323

2424
variable "instance_type" {

terraform/eks/daemon/ebs/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ variable "k8s_version" {
3333

3434
variable "ami_type" {
3535
type = string
36-
default = "AL2_x86_64"
36+
default = "AL2023_x86_64_STANDARD"
3737
}
3838

3939
variable "instance_type" {

terraform/eks/daemon/emf/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ resource "aws_eks_node_group" "this" {
5858
min_size = 1
5959
}
6060

61-
ami_type = "AL2_x86_64"
61+
ami_type = "AL2023_x86_64_STANDARD"
6262
capacity_type = "ON_DEMAND"
6363
disk_size = 20
6464
instance_types = ["t3.medium"]

terraform/eks/daemon/emf/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ variable "k8s_version" {
2828

2929
variable "ami_type" {
3030
type = string
31-
default = "AL2_x86_64"
31+
default = "AL2023_x86_64_STANDARD"
3232
}
3333

3434
variable "instance_type" {

terraform/eks/daemon/entity/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ variable "k8s_version" {
1818

1919
variable "ami_type" {
2020
type = string
21-
default = "AL2_x86_64"
21+
default = "AL2023_x86_64_STANDARD"
2222
}
2323

2424
variable "instance_type" {

0 commit comments

Comments
 (0)