diff --git a/lib/ansible/modules/cloud/amazon/ec2_vpc.py b/lib/ansible/modules/cloud/amazon/ec2_vpc.py index 9e1b5d6a47..0f3bb3e4fc 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_vpc.py +++ b/lib/ansible/modules/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