Skip to content

Commit 40a407d

Browse files
authored
[Test] Fix EKS addon tests using k8s version 1.33 and above by using AL2023 nodes (#317)
* [Test] Fix k8s 1.33 tests by using AL2023 * Use AL2023_x86_64_STANDARD
1 parent 7e1557a commit 40a407d

File tree

1 file changed

+1
-1
lines changed
  • integration-tests/terraform/eks

1 file changed

+1
-1
lines changed

integration-tests/terraform/eks/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ resource "aws_eks_node_group" "this" {
4141
min_size = 1
4242
}
4343

44-
ami_type = "AL2_x86_64"
44+
ami_type = var.k8s_version >= "1.33" ? "AL2023_x86_64_STANDARD" : "AL2_x86_64"
4545
capacity_type = "ON_DEMAND"
4646
disk_size = 20
4747
instance_types = ["t3.medium"]

0 commit comments

Comments
 (0)