From 4a210404bbaca977809aab0541087c83dbff5785 Mon Sep 17 00:00:00 2001 From: shockrah Date: Fri, 6 Oct 2023 00:09:24 -0700 Subject: [PATCH] Adding temper.tv cert --- infra/load-balancer/load-balancer.tf | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/infra/load-balancer/load-balancer.tf b/infra/load-balancer/load-balancer.tf index f81ad27..001b656 100644 --- a/infra/load-balancer/load-balancer.tf +++ b/infra/load-balancer/load-balancer.tf @@ -72,7 +72,7 @@ resource "aws_lb_listener_rule" "beta" { } condition { host_header { - values = local.buckets + values = local.domains } } } @@ -80,10 +80,14 @@ resource "aws_lb_listener_rule" "beta" { # Certificate attachment for project athens ########################################### -# Additional certificate for the .net +# Additional certificate project-athens resource "aws_lb_listener_certificate" "alpha_project_athens_cert" { - for_each = toset(local.buckets) listener_arn = aws_lb_listener.https.arn certificate_arn = aws_acm_certificate_validation.project_athens_xyz.certificate_arn } +resource "aws_lb_listener_certificate" "alpha_temper_tv_cert" { + listener_arn = aws_lb_listener.https.arn + certificate_arn = aws_acm_certificate_validation.temper_tv.certificate_arn +} +