Skip to content

Commit

Permalink
fix: Use the prefix_seperator var for node sg prefix (#1751)
Browse files Browse the repository at this point in the history
  • Loading branch information
baibailiha authored Jul 10, 2023
1 parent ba7a09f commit 022a89d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node_groups.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 022a89d

Please sign in to comment.