Skip to content

Commit

Permalink
Update S3 manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
Likkan Chung committed Oct 28, 2023
1 parent b283267 commit 037e211
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,13 @@ resource "aws_s3_bucket" "dev-s3-static-website" {
}
]
})
website {
index_document = "index.html"
}
}

resource "aws_s3_bucket_website_configuration" "dev-s3-static-website-config" {
bucket = aws_s3_bucket.dev-s3-static-website.id
index_document {
suffix = "index.html"
}
}

resource "aws_s3_object" "dev-s3-static-website-files" {
Expand Down

0 comments on commit 037e211

Please sign in to comment.