Skip to content

Commit

Permalink
fix: Allow setup eventbridge without notifications (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
breitsmiley authored May 18, 2022
1 parent 8bd0101 commit 31b8e9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/notification/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ locals {
}

resource "aws_s3_bucket_notification" "this" {
count = var.create && (length(var.lambda_notifications) > 0 || length(var.sqs_notifications) > 0 || length(var.sns_notifications) > 0) ? 1 : 0
count = var.create ? 1 : 0

bucket = var.bucket

Expand Down

0 comments on commit 31b8e9d

Please sign in to comment.