Skip to content

Commit

Permalink
Pin launch_template_version for EKS module (#1315)
Browse files Browse the repository at this point in the history
* Pin launch_template_version for EKS module

The v17.1.0 have an issue(terraform-aws-modules/terraform-aws-eks#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
terraform-aws-modules/terraform-aws-eks#1447
  • Loading branch information
vijay-veeranki authored Aug 9, 2021
1 parent a484abd commit 86326e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions terraform/aws-accounts/cloud-platform-aws/vpc/eks/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -49,6 +52,7 @@ module "eks" {
application = "moj-cloud-platform"
business-unit = "platforms"
}

}
}

Expand Down
2 changes: 1 addition & 1 deletion tests/makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=0.6
VERSION=0.7
PREFIX=ministryofjustice/cloud-platform-tests
TAG=$(VERSION)

Expand Down

0 comments on commit 86326e0

Please sign in to comment.