From 29976702b1601ae025ee7eb1628e448cb614dce9 Mon Sep 17 00:00:00 2001 From: "Spencer C. Imbleau" Date: Mon, 13 May 2024 21:20:54 -0400 Subject: [PATCH] refactor(tf): use computed arn --- terraform/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/main.tf b/terraform/main.tf index a186eb8..c5e7ddf 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -108,7 +108,7 @@ resource "aws_cloudfront_distribution" "web_distribution" { } viewer_certificate { - acm_certificate_arn = "arn:aws:acm:us-east-1:804184581672:certificate/924d54f4-5e73-4e87-a560-8e285ff119c4" + acm_certificate_arn = aws_acm_certificate.tls_cert.arn ssl_support_method = "sni-only" minimum_protocol_version = "TLSv1" cloudfront_default_certificate = false