https://pulumi.com logo
#general
Title
# general
c

clever-soccer-98174

05/13/2023, 1:55 PM
Hi all 🙂 I’m using @pulumi/aws-static-website to deploy my react app, so far I’ve been using version
0.3.0
. When I destroy and re-create again, I started to get following error: 1 error occurred: * Error creating S3 bucket: InvalidBucketAclWithObjectOwnership: Bucket cannot have ACLs set with ObjectOwnership’s BucketOwnerEnforced setting status code: 400, When I update package to version
0.4.0
, all good but when page is redirected to some another page via react-router-dom, I’m getting :
Copy code
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>FG18GJN5BRXRSTYC</RequestId>
<HostId>8ue6Jq4q0jx3M5K5IkEVMCUr3kGvvz8gaYwJ7mzOXXKqpqqw5vxKlSBednksWU5Xkm2LN6m6Uk4=</HostId>
</Error>
Any idea how can I proceed to solve this problem? Thanks!
my guess is about error page on cloud front, I tweaked couple of times got it working, but still couldnt figure out how to reflect it to pulumi
5 Views