From fbaeee5dbac1b4ab903ac5a2dc95babb09259d91 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Fri, 15 May 2015 09:40:30 -0400 Subject: [PATCH] Output the Internet Gatewoy id directly instead of in a dict. --- cloud/amazon/ec2_vpc.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/cloud/amazon/ec2_vpc.py b/cloud/amazon/ec2_vpc.py index 087b13ab15e..0870c14ec59 100644 --- a/cloud/amazon/ec2_vpc.py +++ b/cloud/amazon/ec2_vpc.py @@ -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