Skip to content

Commit

Permalink
fix: listener cert (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
HarryET committed Aug 11, 2023
1 parent 8ca7a58 commit 5dbe341
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions terraform/ecs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,11 @@ resource "aws_lb_listener" "listener-http" {
}
}

resource "aws_lb_listener_certificate" "backup_cert" {
listener_arn = aws_lb_listener.listener.arn
certificate_arn = var.backup_acm_certificate_arn
}

# DNS Records
resource "aws_route53_record" "dns_load_balancer" {
zone_id = var.route53_zone_id
Expand Down

0 comments on commit 5dbe341

Please sign in to comment.