diff --git a/README.md b/README.md index dbb15d0b..9015d6dd 100644 --- a/README.md +++ b/README.md @@ -521,7 +521,7 @@ The following inputs can be used as `step.with` keys | `aws_eks_cluster_log_types` | String | Comma separated list of cluster log type. See [this AWS doc](https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html). Defaults to `api,audit,authenticator`. | | `aws_eks_cluster_log_retention_days` | String | Days to store logs. Defaults to `7`. | | `aws_eks_cluster_logs_skip_destroy` | Boolean | Skip deletion of cluster logs if set to true. Defaults to `false`. | -| `aws_eks_cluster_version` | String | Specify the k8s cluster version. Defaults to `1.28` | +| `aws_eks_cluster_version` | String | Specify the k8s cluster version. Defaults to `1.33` | | `aws_eks_instance_type` | String | Define the EC2 instance type. See [this list](https://aws.amazon.com/ec2/instance-types/) for reference. Defaults to `t3a.medium`. | | `aws_eks_instance_ami_id` | String | AWS AMI ID. Will default to the latest Amazon EKS Node image for the cluster version. | | `aws_eks_instance_user_data_file` | String | Relative path in the repo for a user provided script to be executed with the EC2 Instance creation. See note. | diff --git a/action.yaml b/action.yaml index 7caf8b74..8f4933a3 100644 --- a/action.yaml +++ b/action.yaml @@ -1047,8 +1047,16 @@ inputs: description: "Skip deletion of cluster logs if set to true" required: false aws_eks_cluster_version: + type: choice description: 'Specify the k8s cluster version' - required: false + option: + - 1.29 + - 1.30 + - 1.31 + - 1.32 + - 1.33 + required: false + default: 1.33 aws_eks_instance_type: description: 'enter the aws instance type' required: false diff --git a/operations/deployment/terraform/aws/aws_variables.tf b/operations/deployment/terraform/aws/aws_variables.tf index 2071fbd4..d954a3b7 100644 --- a/operations/deployment/terraform/aws/aws_variables.tf +++ b/operations/deployment/terraform/aws/aws_variables.tf @@ -1823,7 +1823,6 @@ variable "aws_eks_cluster_log_skip_destroy" { variable "aws_eks_cluster_version" { description = "enter the kubernetes version" type = number - default = "1.28" } variable "aws_eks_instance_type" {