DEV Community

Discussion on: How to upload images to Amazon S3 using the AWS Amplify Storage module

Collapse
 
danielbayerlein profile image
Daniel Bayerlein

Hi Josh, thank you for your feedback.

You can setup the CORS configuration via XML in the AWS Management Console, see docs.aws.amazon.com/AmazonS3/lates... and docs.aws.amazon.com/AmazonS3/lates...

To provide the infrastructure I use the Serverless Framework (serverless.com/). I create the S3 bucket in the "Configure S3 bucket" section including the CORS configuration with the Serverless Framework.