From 69ce9db5ef2f6a5b694a8c5134ef86fad583a521 Mon Sep 17 00:00:00 2001 From: Frank <639906+syphernl@users.noreply.github.com> Date: Wed, 12 Jan 2022 19:06:23 +0100 Subject: [PATCH] fix: set viewer_certificate.ssl_support_method to a non-empty value (#208) * Sets the `viewer_certificate.ssl_support_method` to a non-empty value Co-authored-by: actions-bot <58130806+actions-bot@users.noreply.github.com> --- README.md | 2 +- main.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8488c664..8504bfb3 100644 --- a/README.md +++ b/README.md @@ -692,7 +692,7 @@ In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow. ## Copyright -Copyright © 2017-2021 [Cloud Posse, LLC](https://cpco.io/copyright) +Copyright © 2017-2022 [Cloud Posse, LLC](https://cpco.io/copyright) diff --git a/main.tf b/main.tf index 97c91c61..2310fbad 100644 --- a/main.tf +++ b/main.tf @@ -439,7 +439,7 @@ resource "aws_cloudfront_distribution" "default" { viewer_certificate { acm_certificate_arn = var.acm_certificate_arn - ssl_support_method = local.use_default_acm_certificate ? "" : "sni-only" + ssl_support_method = "sni-only" minimum_protocol_version = local.minimum_protocol_version cloudfront_default_certificate = local.use_default_acm_certificate }