Skip to content

Commit

Permalink
switching to cft default cert
Browse files Browse the repository at this point in the history
  • Loading branch information
amavrogiannis committed Mar 29, 2024
1 parent 726d7f4 commit ad8999a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infra/modules/web/cloudfront.tf
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ resource "aws_cloudfront_distribution" "this" {

#First, create certificate, before pasting the ARN here.
viewer_certificate {
acm_certificate_arn = data.aws_acm_certificate.this.arn
cloudfront_default_certificate = false
# acm_certificate_arn = data.aws_acm_certificate.this.arn
cloudfront_default_certificate = true
minimum_protocol_version = "TLSv1.2_2021"
ssl_support_method = "sni-only"
}
Expand Down

0 comments on commit ad8999a

Please sign in to comment.