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

pull/18777/head
Feanil Patel 10 years ago committed by Matt Clay
parent 70188fe02a
commit 36dfb78831

@ -182,17 +182,6 @@ def get_vpc_info(vpc):
'state': vpc.state, '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): def find_vpc(module, vpc_conn, vpc_id=None, cidr=None):
""" """
Finds a VPC that matches a specific id or cidr + tags Finds a VPC that matches a specific id or cidr + tags

Loading…
Cancel
Save