Change boto connection object from ec2 to vpc

Issue 906 - ec2_vpc_igw has incorrect connection parameters
reviewable/pr18780/r1
dbhirko 9 years ago
parent f2c6d9f9a7
commit 041d6f6077

@ -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