S3 ACL permissions needed for public upload

This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the AWS category.

Last Updated: 2021-05-16

AWS s3 needs extra permissions for in the ACL setting

I tried uploading a file to s3 from Ruby with the AWS library. I ran obj.upload_file(file, {acl: 'public_read'}. It failed. My IAM user needed a policy expansion with these added: