After doing a big research, I’ve not found any guide to upload images to S3 with private ACL.
I’m experiencing a weird behavior where the backups work but not uploadimg of images.
I narrowed the issue down to a problem with ACL of the bucket (I proved that the problem is the ACL since I’m able to upload file using the sdk without specifing the ACL flag). In some cases the “block access to public” permission are set at account level and not bucket level so deactivating the checkbox in the bucket config won’t work.
Tive o mesmo problema. O upload de backup funciona, mas o upload de imagens mostra “O bucket não permite ACLs”
E foi corrigido modificando uma permissão no IAM e duas configurações no bucket
Primeiro, alterei o guia sobre a permissão do IAM de “s3:HeadBucket” para “s3:ListBucket” porque a Amazon disse que HeadBucket não é uma permissão válida
Então, a parte mais importante, habilitar ACLs, é chamado de Editar Propriedade do Objeto na aba de permissão, com ACLs habilitadas e definidas como gravador de objeto, tudo ficou bem agora