File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -33,9 +33,13 @@ provider "aws" {
3333module "aws_static_website" {
3434 source = "cloudmaniac/static-website/aws"
3535
36- domains-zone-root = "example.com"
37- website-domain-main = "example.com"
38- website-domain-redirect = "www.example.com"
36+ # This is the domain as defined in Route53
37+ domains-zone-root = "cloudmaniac.net"
38+
39+ # Domains used for CloudFront
40+ website-domain-main = "cloudmaniac.net"
41+ website-domain-redirect = "www.cloudmaniac.net"
42+ website-additional-domains = ["noredir1.cloudmaniac.net","noredir2.cloudmaniac.net"]
3943}
4044```
4145
@@ -75,8 +79,8 @@ Module Support: [terraform-aws-static-website](https://github.com/cloudmaniac/te
7579
7680## Todo
7781
78- * [ ] Tag all ressources
7982* [ ] Use versioning on S3 buckets instead of invalidation
8083* [ ] Secure S3 buckets
8184* [ ] Optional enhanced version with Lambda@Edge configuration and S3 endpoint (REST endpoint) used as the origin
85+ * [ ] Variable names cleaning
8286* [ ] Add more outputs
You can’t perform that action at this time.
0 commit comments