Skip to content

Commit

Permalink
fix: cannot deploy cert
Browse files Browse the repository at this point in the history
  • Loading branch information
arein committed Aug 7, 2023
1 parent 852d4eb commit 4a48487
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 @@ -180,11 +180,16 @@ resource "aws_lb_listener" "listener" {
port = "443"
protocol = "HTTPS"
certificate_arn = var.acm_certificate_arn
ssl_policy = "ELBSecurityPolicy-TLS13-1-2-2021-06"

default_action {
type = "forward"
target_group_arn = aws_lb_target_group.target_group.arn # Referencing our target group
}

lifecycle {
create_before_destroy = true
}
}

resource "aws_lb_listener" "listener-http" {
Expand Down

0 comments on commit 4a48487

Please sign in to comment.