Terraform for aws_alb_listener how to add multiple target_group_arn in default action for type="forw
My Approach: I have to create an "aws_lb_listener" resource , in the default action I have type = " forward" but I don't have one target_group_arn . I have more than one target_group_arn values.
Below snippet shows frontend-listener but the target_group_arn should include more than one arn values.
resource "aws_alb_listener" "frontend-listener" { load_balancer_arn = aws_alb.ss_alb.arn port = "443" #"80" protocol = "HTTPS" depends_on = [aws_alb_target_group.aws_alb_target_group] default_action { #target_group_arn = aws_alb_target_group.aws_alb_target_group.arn type = "
[Read More]