In April 2023, Amazon automatically enabled S3 Block Public Access and disabled access control lists for all new buckets. When attempting to perform the aws cloudformation deploy ... step in this example, custom resources will always fail to create the S3BucketLogs due to this change.
I was able to get the example working by providing the following diff:
Which was suggested per this AWS blog post. It's unclear to me if the maintainers of this library want to implement that solution, but the example currently does not work as-is.
In April 2023, Amazon automatically enabled S3 Block Public Access and disabled access control lists for all new buckets. When attempting to perform the
aws cloudformation deploy ...
step in this example, custom resources will always fail to create theS3BucketLogs
due to this change.I was able to get the example working by providing the following diff:
Which was suggested per this AWS blog post. It's unclear to me if the maintainers of this library want to implement that solution, but the example currently does not work as-is.