ELBv2.create_listener links TargetGroup to LB
In order to search target_groups by LB, we need this link in place. Resolves #1500
This commit is contained in:
parent
553d074241
commit
9a8b36debc
2 changed files with 8 additions and 0 deletions
|
|
@ -340,6 +340,10 @@ def test_create_target_group_and_listeners():
|
|||
'Type': 'forward'}])
|
||||
http_listener_arn = listener.get('ListenerArn')
|
||||
|
||||
response = conn.describe_target_groups(LoadBalancerArn=load_balancer_arn,
|
||||
Names=['a-target'])
|
||||
response.get('TargetGroups').should.have.length_of(1)
|
||||
|
||||
# And another with SSL
|
||||
response = conn.create_listener(
|
||||
LoadBalancerArn=load_balancer_arn,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue