Commit 31b8e9dc authored by Pavel's avatar Pavel Committed by GitHub

fix: Allow setup eventbridge without notifications (#160)

parent 8bd01014
...@@ -7,7 +7,7 @@ locals { ...@@ -7,7 +7,7 @@ locals {
} }
resource "aws_s3_bucket_notification" "this" { 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 bucket = var.bucket
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment