Enable dynamic port routing

This commit is contained in:
2020-05-02 03:12:12 -04:00
parent fee56c6042
commit ce9afe339c
2 changed files with 4 additions and 6 deletions

View File

@ -37,10 +37,8 @@ Resources:
NlbTargetGroup:
Type: AWS::ElasticLoadBalancingV2::TargetGroup
Properties:
HealthCheckProtocol: TCP
HealthCheckPort: 80
Port: 7777
Protocol: TCP_UDP
Protocol: UDP
TargetGroupAttributes:
- Key: deregistration_delay.timeout_seconds
Value: '20'
@ -57,7 +55,7 @@ Resources:
TargetGroupArn: !Ref NlbTargetGroup
LoadBalancerArn: !Ref PublicNLB
Port: 7777
Protocol: TCP_UDP
Protocol: UDP
Outputs: