fix: Fixed launch template version infinite plan issue and improved rolling updates (#1447)

This commit is contained in:
Jaime Hidalgo García
2021-08-25 16:54:29 +02:00
committed by GitHub
parent 4f683ab776
commit d17007b542
4 changed files with 7 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ resource "aws_launch_template" "workers" {
name_prefix = local.node_groups_names[each.key]
description = format("EKS Managed Node Group custom LT for %s", local.node_groups_names[each.key])
update_default_version = true
update_default_version = lookup(each.value, "update_default_version", true)
block_device_mappings {
device_name = "/dev/xvda"