vltmn / fastsite

Node JS tool to deploy static websites to S3 with a cloudfront deployment
MIT License
0 stars 2 forks source link

Fix issue creating buckets with public ACL #28

Open vifraa opened 1 year ago

vifraa commented 1 year ago

Starting April 2023, AWS has changed the defaults of new S3 Buckets to be blocked for public access (see here). This causes issues when using Fastsite since we get the below errors when setting access policy caused by this.

Bucket cannot have ACLs set with ObjectOwnership's BucketOwnerEnforced setting

This pull requests fix this issues so that we can create new deployments that are publily accessible.