Hi
I am trying to send the rendered video to Amazon S3 bucket and keep getting “Serve error Failed to copy file to S3.”
I can see the video renders fine on the temporary link and it works when using shotstack storage.
Might have the wrong output code? (bucket names and account IDs have been removed)
"output": {
"format": "mp4",
"size": {
"width": 1280,
"height": 720
},
"destinations": [
{
"provider": "s3",
"options": {
"region": "ap-southeast-2",
"bucket": "bucket-name-removed",
"acl": "public-read"
}
},
{
"provider": "shotstack",
"exclude": true
}
]
}```
or maybe the S3 bucket pollicy is incorrect for the IAM user?
{
“Version”: “2012-10-17”,
“Statement”: [
{
“Sid”: “PublicRead”,
“Effect”: “Allow”,
“Principal”: “",
“Action”: [
“s3:GetObject”,
“s3:GetObjectVersion”
],
“Resource”: "arn:aws:s3:::bucket-name-removed/”
},
{
“Sid”: “AddPublicReadCannedAcl”,
“Effect”: “Allow”,
“Principal”: {
“AWS”: “arn:aws:iam::acount-id-removed:root”
},
“Action”: [
“s3:PutObject”,
“s3:PutObjectAcl”
],
“Resource”: “arn:aws:s3:::bucket-name-removed/*”,
“Condition”: {
“StringEquals”: {
“s3:x-amz-acl”: “public-read”
}
}
}
]
}```
The IAMuser has full access to S3.
Any suggestions would be appreciated.
Thanks