First, create manually the AWS S3 bucket, then enable ACLs to finally, run the code: This generates this: