From 236e187e04e64fcf696e39034f3fcfb820c801de Mon Sep 17 00:00:00 2001 From: Christian Vecchiola Date: Sat, 8 Jan 2022 17:14:25 +1100 Subject: [PATCH] fixed the version of the eks module to support current definition. --- demo-terraform-eks-cluster/eks-cluster.tf | 7 +++++++ 1 file changed, 7 insertions(+) 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 = {