Skip to content

Commit

Permalink
remove filter prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Sep 6, 2023
1 parent d36b5a6 commit b5fc8ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cloudtrail/s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ resource "aws_s3_bucket_notification" "this" {
bucket = aws_s3_bucket.this.id

topic {
topic_arn = try(aws_sns_topic.cloudtrail_s3[0].arn, null)
events = ["s3:ObjectCreated:*"]
filter_prefix = "cloudtrail/"
topic_arn = try(aws_sns_topic.cloudtrail_s3[0].arn, null)
events = ["s3:ObjectCreated:*"]
# filter_prefix = "cloudtrail/"
# filter_suffix = ".json.gz"
}
}

0 comments on commit b5fc8ae

Please sign in to comment.