System Information
- Strapi Version: 4.1.2
- Operating System: MacOS
- Database: Postgres
- Node Version: v16.13.1
- NPM Version: 8.3.0
- Yarn Version: 1.22.17
I just installed strapi-provider-upload-aws-s3 and followed all of the configuration steps provided in the documentation but media is still being added to the public/uploads folder instead of AWS and I can’t work out why. I’ve configured plugins.js, middlewares.js and updated my bucket policy as follows:
{
"Id": "Policy1",
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Statement1",
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObject",
"s3:ListBucket",
"s3:DeleteObject",
"s3:PutObjectAcl"
],
"Resource": [
"arn:aws:s3::<Bucket Name>:",
"arn:aws:s3:::<Bucket Name>/*"
],
"Principal": "*"
}
]
}
Does anyone know what might be causing this issue? I saw that there was a bug in version 3 but not sure if it’s related to that or something I’m doing.