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.
Tengo el mismo problema. La carga de copias de seguridad funciona, pero la carga de imágenes muestra “El bucket no permite ACL”.
Y se solucionó modificando un permiso en IAM y dos configuraciones en el bucket.
Primero cambié la guía sobre el permiso IAM de “s3:HeadBucket” a “s3:ListBucket” porque Amazon dijo que HeadBucket no es un permiso válido.
Luego, la parte más importante, habilitar las ACL, se llama Editar Propiedad del Objeto en la pestaña de permisos, con las ACL habilitadas y configuradas como escritor de objetos, todo funciona bien ahora.