From bc096af870622a275ab5e283b08a4fb581158a29 Mon Sep 17 00:00:00 2001 From: shockrah Date: Mon, 2 Jan 2023 19:10:08 -0800 Subject: [PATCH] Routing & TLS issues fixed with ACM --- infra/route53-project-athens-xyz.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/infra/route53-project-athens-xyz.tf b/infra/route53-project-athens-xyz.tf index a472037..31cf342 100644 --- a/infra/route53-project-athens-xyz.tf +++ b/infra/route53-project-athens-xyz.tf @@ -36,6 +36,11 @@ locals { name = tolist(aws_acm_certificate.sample.domain_validation_options)[0].resource_record_name type = tolist(aws_acm_certificate.sample.domain_validation_options)[0].resource_record_type records = [ tolist(aws_acm_certificate.sample.domain_validation_options)[0].resource_record_value ] + }, + { + name = "sample.project-athens.xyz" + type = "CNAME" + records = [ aws_lb.alpha.dns_name ] } ] }