Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def get_inspected_key(self) -> str:

def get_expected_values(self) -> list[Any]:
# https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html
return ["1.25", "1.26", "1.27", "1.28", "1.29", "1.30", "1.31", "1.32", "1.33"]
return ["1.28", "1.29", "1.30", "1.31", "1.32", "1.33"]


check = EKSPlatformVersion()
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resource "aws_eks_cluster" "pass2" {
subnet_ids = [aws_subnet.example1.id, aws_subnet.example2.id]
}

version="1.25"
version = "1.33"
# Ensure that IAM Role permissions are created before and deleted after EKS Cluster handling.
# Otherwise, EKS will not be able to properly delete EKS managed EC2 infrastructure such as Security Groups.
depends_on = [
Expand All @@ -39,12 +39,12 @@ resource "aws_eks_cluster" "fail" {
subnet_ids = [aws_subnet.example1.id, aws_subnet.example2.id]
}

version="1.21"
version = "1.21"

# Ensure that IAM Role permissions are created before and deleted after EKS Cluster handling.
# Otherwise, EKS will not be able to properly delete EKS managed EC2 infrastructure such as Security Groups.
depends_on = [
aws_iam_role_policy_attachment.example-AmazonEKSClusterPolicy,
aws_iam_role_policy_attachment.example-AmazonEKSVPCResourceController,
]
}
}
Loading