Skip to content

Commit

Permalink
Merge pull request #33 from dim-on-github/security-groups-fix
Browse files Browse the repository at this point in the history
Ability to create new SG and have addititonal ones applied
  • Loading branch information
vara-bonthu authored Jun 19, 2023
2 parents d5b685b + 216bd05 commit 1066050
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 1066050

Please sign in to comment.