diff --git a/node_group/aws_managed/main.tf b/node_group/aws_managed/main.tf index 650ecdf..9930375 100644 --- a/node_group/aws_managed/main.tf +++ b/node_group/aws_managed/main.tf @@ -40,6 +40,7 @@ resource "aws_launch_template" "this" { disable_api_termination = var.disable_api_termination kernel_id = var.kernel_id ram_disk_id = var.ram_disk_id + default_version = var.launch_template_default_version dynamic "block_device_mappings" { for_each = var.block_device_mappings diff --git a/node_group/self_managed/main.tf b/node_group/self_managed/main.tf index e16208a..1012981 100644 --- a/node_group/self_managed/main.tf +++ b/node_group/self_managed/main.tf @@ -1,7 +1,7 @@ locals { self_managed_node_group_default_tags = { - "Name" = "${module.labels.id}" - "Environment" = "${var.environment}" + "Name" = [module.labels.id] + "Environment" = [var.environment] "kubernetes.io/cluster/${var.cluster_name}" = "owned" "k8s.io/cluster/${var.cluster_name}" = "owned" }