Skip to content

Commit 31b8e9d

Browse files
authored
fix: Allow setup eventbridge without notifications (#160)
1 parent 8bd0101 commit 31b8e9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/notification/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ locals {
77
}
88

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

1212
bucket = var.bucket
1313

0 commit comments

Comments
 (0)