Skip to content

Commit db8ec8e

Browse files
committed
use website configuration for s3 bucket
1 parent f852e1b commit db8ec8e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cloudformation/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,9 @@ Resources:
619619
Type: AWS::S3::Bucket
620620
Properties:
621621
BucketName: !Sub ${S3BucketPrefix}-ui
622+
WebsiteConfiguration:
623+
IndexDocument: index.html
624+
ErrorDocument: index.html
622625

623626
AppCloudfrontS3OAC:
624627
Type: AWS::CloudFront::OriginAccessControl

0 commit comments

Comments
 (0)