Skip to content

Commit

Permalink
CloudFront: Upgrade minimum_protocol_version
Browse files Browse the repository at this point in the history
Upgrade `minimum_protocol_version`

From `TLSv1.1_2016` to `TLSv1.2_2021`
  • Loading branch information
takano32 committed Feb 27, 2024
1 parent 6880e8c commit 4557b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudfront.tf
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ resource "aws_cloudfront_distribution" "this" {
viewer_certificate {
acm_certificate_arn = module.acm.acm_certificate_arn
ssl_support_method = "sni-only"
minimum_protocol_version = "TLSv1.1_2016"
minimum_protocol_version = "TLSv1.2_2021"
}

# By default, cloudfront caches error for five minutes. There can be situation when a developer has accidentally broken the website and you would not want to wait for five minutes for the error response to be cached.
Expand Down

0 comments on commit 4557b59

Please sign in to comment.