Skip to content

Commit

Permalink
Ability to create new SG and have addititonal ones applied
Browse files Browse the repository at this point in the history
  • Loading branch information
Дмитро Купчук committed May 30, 2023
1 parent 24fc98c commit 216bd05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locals.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
locals {
execution_role_arn = var.create_iam_role ? aws_iam_role.mwaa[0].arn : var.execution_role_arn

security_group_ids = var.create_security_group ? [aws_security_group.mwaa[0].id] : var.security_group_ids
security_group_ids = var.create_security_group ? concat([aws_security_group.mwaa[0].id], var.security_group_ids) : var.security_group_ids

source_bucket_arn = var.create_s3_bucket ? aws_s3_bucket.mwaa[0].arn : var.source_bucket_arn

Expand Down

0 comments on commit 216bd05

Please sign in to comment.