From 62879dd81a69ba010f19ba9ece8392e1730b53e0 Mon Sep 17 00:00:00 2001 From: Martijn van der Ploeg <73637849+martijnvdp@users.noreply.github.com> Date: Sat, 8 Jan 2022 21:37:19 +0100 Subject: [PATCH] fix: Use the prefix_seperator var for node sg prefix (#1751) --- node_groups.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node_groups.tf b/node_groups.tf index 771fa60..18bd23a 100644 --- a/node_groups.tf +++ b/node_groups.tf @@ -106,7 +106,7 @@ resource "aws_security_group" "node" { count = local.create_node_sg ? 1 : 0 name = var.node_security_group_use_name_prefix ? null : local.node_sg_name - name_prefix = var.node_security_group_use_name_prefix ? "${local.node_sg_name}-" : null + name_prefix = var.node_security_group_use_name_prefix ? "${local.node_sg_name}${var.prefix_separator}" : null description = var.node_security_group_description vpc_id = var.vpc_id