mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
All calls to describe_vpc_peering_connections need to use the params dict
This commit is contained in:
parent
439c4aa979
commit
1b170a145e
1 changed files with 2 additions and 2 deletions
|
@ -168,8 +168,8 @@ def describe_peering_connections(params, client):
|
||||||
])
|
])
|
||||||
if result['VpcPeeringConnections'] == []:
|
if result['VpcPeeringConnections'] == []:
|
||||||
result = client.describe_vpc_peering_connections(Filters=[
|
result = client.describe_vpc_peering_connections(Filters=[
|
||||||
{'Name': 'requester-vpc-info.vpc-id', 'Values': [peer_vpc_id]},
|
{'Name': 'requester-vpc-info.vpc-id', 'Values': [params['PeerVpcId']]},
|
||||||
{'Name': 'accepter-vpc-info.vpc-id', 'Values': [vpc_id]}
|
{'Name': 'accepter-vpc-info.vpc-id', 'Values': [params['VpcId']]}
|
||||||
])
|
])
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue