I'm using the image
public.ecr.aws/sam/build-go1.x:1.84.0-20230517002422 which is the latest of this post, and I am seeing an error in my CloudFormation the: Bucket cannot have ACLs set with ObjectOwnership's BucketOwnerEnforced setting (Service: Amazon S3; Status Code: 400; Error Code: InvalidBucketAclWithObjectOwnership; This is trying to create a logging bucket ArtifactsLoggingBucket.
Is there a parameter or something I can put in the sam script to fix this?