Skip to content

Commit

Permalink
sg change (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
Montek30 authored Jul 11, 2023
1 parent 1842105 commit 8102840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ resource "aws_mq_broker" "main" {

authentication_strategy = var.authentication_strategy

security_groups = var.create_security_group ? [aws_security_group.main[0].id] : var.security_groups
security_groups = var.create_security_group ? merge(var.security_groups, [aws_security_group.main[0].id]) : var.security_groups

dynamic "configuration" {
for_each = var.configuration_enabled ? ["true"] : []
Expand Down

0 comments on commit 8102840

Please sign in to comment.