github.com/in4it/ecs-deploy@v0.0.42-0.20240508120354-ed77ff16df25/templates/export/alb_listenerrule.tf (about)

     1  resource "aws_alb_listener_rule" "${SERVICE}-rule-${LISTENER_PRIORITY}" {
     2    # rule_arn = ${LISTENER_RULE_ARN}
     3    listener_arn = "${LISTENER_ARN}"
     4    priority = ${LISTENER_PRIORITY}
     5  
     6    action {
     7      type = "forward"
     8      target_group_arn = "${aws_alb_target_group.${SERVICE}.arn}"
     9    }
    10    ${LISTENER_CONDITION_RULE}
    11  }