From 622bef02b1f427febc29e0e944a9df0f1e18edfc Mon Sep 17 00:00:00 2001 From: martijnvdp Date: Fri, 7 Jan 2022 19:29:34 +0100 Subject: [PATCH] use the prefix_seperator var for node sg prefix --- node_groups.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node_groups.tf b/node_groups.tf index 771fa60bf8..18bd23a92f 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