Hey,
When we are creating a s3 bucket using Bucket construct, do we need to give putObject permissions to it? 🙄 I need to upload files to the bucket using a signed url. But when i try to upload files i'm getting
<Code>SignatureDoesNotMatch</Code>
r
Ross Coundon
11/30/2021, 12:41 PM
The function that's accessing the bucket needs to be given appropriate privileges.
There are some examples here:
https://docs.serverless-stack.com/util/Permissions#examples
Then you need to specify putObject as the operation when creating the signed URL in your runtime code (that is probably case-sensitive)