Bma
04/06/2021, 4:53 PMS3
question.
I can’t upload images to the S3 bucket when I set useAccelerateEndpoint
to true
. Does anyone has encountered this problem?
I can retrieve an upload URL, but I’m not able to upload something with it. The error returned is: S3 Transfer Acceleration is not configured on this bucket.
Bma
04/06/2021, 4:53 PMconst s3 = new AWS.S3({
useAccelerateEndpoint: true,
region: process.env.REGION,
});
Bma
04/06/2021, 4:55 PMBma
04/06/2021, 5:11 PMMike McCall
04/06/2021, 5:37 PMFrank
const bucket = sst.Bucket(...)
bucket.s3Bucket.node.defaultChild.AccelerateConfigurationProperty.AccelerationStatus = "Enabled";