But in the aws_s3_bucket_notification resource "bucket_notification", the filter_prefix is hardcoded to "AWSLogs/" which does not work for us. The PR just aims to make the filter_prefix an optional variable and still make "AWSLogs/" as the default value.
Our s3 URI looks like this:
s3://test/CloudTrail/AWSLogs/.../
But in the aws_s3_bucket_notification resource "bucket_notification", the filter_prefix is hardcoded to "AWSLogs/" which does not work for us. The PR just aims to make the filter_prefix an optional variable and still make "AWSLogs/" as the default value.