File tree 2 files changed +16
-6
lines changed
2 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -58,13 +58,14 @@ resource "aws_cloudfront_distribution" "distribution" {
58
58
59
59
price_class = " PriceClass_100"
60
60
61
- aliases = [" ${ var . dns_record_subdomain_including_dot } ${ data . aws_route53_zone . route_53_zone_for_our_domain . name } " ]
62
-
61
+ # aliases = ["${var.dns_record_subdomain_including_dot}${data.aws_route53_zone.route_53_zone_for_our_domain.name}"]
62
+
63
63
viewer_certificate {
64
- acm_certificate_arn = aws_acm_certificate_validation. certificate_validation_waiter . certificate_arn
65
- cloudfront_default_certificate = false
66
- minimum_protocol_version = " TLSv1"
67
- ssl_support_method = " sni-only"
64
+ # acm_certificate_arn = aws_acm_certificate_validation.certificate_validation_waiter.certificate_arn
65
+ # cloudfront_default_certificate = false
66
+ # minimum_protocol_version = "TLSv1"
67
+ # ssl_support_method = "sni-only"
68
+ cloudfront_default_certificate = true
68
69
}
69
70
70
71
enabled = true
Original file line number Diff line number Diff line change
1
+
2
+ environment = " Prod"
3
+ environment_hyphens = " Prod"
4
+
5
+ create_dns_record = false
6
+ dns_record_subdomain_including_dot = " "
7
+
8
+ create_redirect_from_www_domain = true
9
+ dns_record_www_domain_including_dot = " www."
You can’t perform that action at this time.
0 commit comments