diff --git a/infra/load-balancer.tf b/infra/load-balancer.tf index b8acc59..019ba1d 100644 --- a/infra/load-balancer.tf +++ b/infra/load-balancer.tf @@ -34,10 +34,18 @@ resource "aws_lb_listener" "https" { protocol = "HTTPS" ssl_policy = "ELBSecurityPolicy-2016-08" - certificate_arn = aws_acm_certificate_validation.sample.certificate_arn + certificate_arn = aws_acm_certificate_validation.shockrah_xyz.certificate_arn default_action { type = "forward" target_group_arn = aws_lb_target_group.alpha_cluster.arn } } +# Certificate attachment for project athens +########################################### +# Additional certificate for the .net +resource "aws_lb_listener_certificate" "alpha_project_athens_cert" { + listener_arn = aws_lb_listener.https.arn + certificate_arn = aws_acm_certificate_validation.project_athens_xyz.certificate_arn +} +