diff --git a/demo-terraform-eks-cluster/eks-cluster.tf b/demo-terraform-eks-cluster/eks-cluster.tf index 666291c..ce7b3bd 100644 --- a/demo-terraform-eks-cluster/eks-cluster.tf +++ b/demo-terraform-eks-cluster/eks-cluster.tf @@ -2,6 +2,13 @@ module "eks" { source = "terraform-aws-modules/eks/aws" cluster_name = local.cluster_name cluster_version = "1.20" + + # this ensures that we can still use the properties + # `subnets`, `worker_groups_defaults` and `worker_groups` + # that since version 18.0.0 are no longer supported. + # + version = "17.24.0" + subnets = module.vpc.private_subnets tags = {