From 86326e0fb496d098c72a4faad5c16dcf0bcc25dd Mon Sep 17 00:00:00 2001 From: Vijay Veeranki <46675900+vijay-veeranki@users.noreply.github.com> Date: Mon, 9 Aug 2021 13:51:25 +0100 Subject: [PATCH] Pin launch_template_version for EKS module (#1315) * Pin launch_template_version for EKS module The v17.1.0 have an issue(https://github.com/terraform-aws-modules/terraform-aws-eks/issues/1446) where each plan will have a change for the templates, this cause our divergence pipeline fail" Pinned the version until this fix get merged https://github.com/terraform-aws-modules/terraform-aws-eks/pull/1447 --- terraform/aws-accounts/cloud-platform-aws/vpc/eks/cluster.tf | 4 ++++ tests/makefile | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/terraform/aws-accounts/cloud-platform-aws/vpc/eks/cluster.tf b/terraform/aws-accounts/cloud-platform-aws/vpc/eks/cluster.tf index e193fd14..4bfbff92 100644 --- a/terraform/aws-accounts/cloud-platform-aws/vpc/eks/cluster.tf +++ b/terraform/aws-accounts/cloud-platform-aws/vpc/eks/cluster.tf @@ -37,6 +37,9 @@ module "eks" { create_launch_template = true pre_userdata = local.pre_userdata + # Issue in v17.1.0, where each plan will have a change for the templates, this cause our divergence pipeline fail" + # Pinned the version until this fix get merged https://github.com/terraform-aws-modules/terraform-aws-eks/pull/1447 + launch_template_version = "1" instance_types = lookup(local.node_size, terraform.workspace, local.node_size["default"]) k8s_labels = { @@ -49,6 +52,7 @@ module "eks" { application = "moj-cloud-platform" business-unit = "platforms" } + } } diff --git a/tests/makefile b/tests/makefile index ac1afbbd..53efea14 100644 --- a/tests/makefile +++ b/tests/makefile @@ -1,4 +1,4 @@ -VERSION=0.6 +VERSION=0.7 PREFIX=ministryofjustice/cloud-platform-tests TAG=$(VERSION)