diff --git a/README.md b/README.md index 2c3cb49f..679c0dd1 100644 --- a/README.md +++ b/README.md @@ -479,7 +479,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 0d0cf2bd..7776ba60 100644 --- a/action.yaml +++ b/action.yaml @@ -940,8 +940,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 cba19a2e..293767bf 100644 --- a/operations/deployment/terraform/aws/aws_variables.tf +++ b/operations/deployment/terraform/aws/aws_variables.tf @@ -1610,7 +1610,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" {