This message was deleted.
# aws
s
This message was deleted.
f
Hi Max, you should update your bucket to the following:
Copy code
// contentBucket is the S3 bucket that the website's contents will be stored in.
const contentBucket = new aws.s3.Bucket("contentBucket",
    {
        bucket: targetDomain,
        acl: "public-read",
        // Configure S3 to serve bucket contents as a website. This way S3 will automatically convert
        // requests for "foo/" to "foo/index.html".
        website: {
            indexDocument: "index.html"
        },
    });
also would be good to actually create a
index.html
object to properly test out the functionality there 🙂
d
@future-barista-68134 thank you, I will do that! Cheers 🙏