From b68033eeaa299fba1f020f99fe40d7ca37467f6a Mon Sep 17 00:00:00 2001 From: Montek Singh Date: Fri, 22 Sep 2023 12:44:16 +0100 Subject: [PATCH] minor fix (#11) --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 5243dc6..0fea4a2 100644 --- a/main.tf +++ b/main.tf @@ -27,7 +27,7 @@ resource "aws_mq_broker" "main" { authentication_strategy = var.authentication_strategy - security_groups = var.create_security_group ? merge(var.security_groups, [aws_security_group.main[0].id]) : var.security_groups + security_groups = var.create_security_group ? concat(var.security_groups, [aws_security_group.main[0].id]) : var.security_groups dynamic "configuration" { for_each = var.configuration_enabled ? ["true"] : []