aws-samples / aws-hpc-tutorials

https://hpcworkshops.com
Other
81 stars 78 forks source link

Fix error while deploying S3BucketLogs #451

Closed fbdo closed 1 year ago

fbdo commented 1 year ago

Issue #, if available:

Description of changes: I was experimenting your workshop, and I found an issue building the infrastructure as described in the Simulations with AWS Batch and Lambda section. Probably related to the change on the Amazon S3 security changes.

I saw the error: “Bucket cannot have ACLs set with ObjectOwnership's BucketOwnerEnforced setting” while trying to create the S3BucketLogs. I solved it following the instruction on this re:Post: https://repost.aws/knowledge-center/cloudformation-objectownership-acl-error.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.