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 +} +