1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Output the Internet Gatewoy id directly instead of in a dict.

This commit is contained in:
Feanil Patel 2015-05-15 09:40:30 -04:00 committed by Matt Clay
parent 70188fe02a
commit 36dfb78831

View file

@ -182,17 +182,6 @@ def get_vpc_info(vpc):
'state': vpc.state,
})
def get_igw_info(igw):
"""
Get info about the internet gateway.
"""
if igw is None:
return {}
return ({
'id': igw.id,
})
def find_vpc(module, vpc_conn, vpc_id=None, cidr=None):
"""
Finds a VPC that matches a specific id or cidr + tags