Change boto connection object from ec2 to vpc

Issue 906 - ec2_vpc_igw has incorrect connection parameters
pull/18777/head
dbhirko 9 years ago committed by Matt Clay
parent 2f2dbaeff7
commit 60bf93d182

@ -133,7 +133,7 @@ def main():
if region:
try:
connection = connect_to_aws(boto.ec2, region, **aws_connect_params)
connection = connect_to_aws(boto.vpc, region, **aws_connect_params)
except (boto.exception.NoAuthHandlerFound, StandardError), e:
module.fail_json(msg=str(e))
else:

Loading…
Cancel
Save