Hi,
I am setting a lambda function that creates an image and puts it on a bucket. I am facing this issue:
[ERROR] ClientError: An error occurred (AccessControlListNotSupported) when calling the PutObject operation: The bucket does not allow ACLs
I don’t know how to set up the serverless.yml with the right settings to make it work.
I have this that seems to allow full access to s3.
iam:
role:
statements:
- Effect: ‘Allow’
Resource: ‘’
Action: 's3:’
Can someone helps with the right settings? Thank you,
Seb