Change boto connection object from ec2 to vpc
Issue 906 - ec2_vpc_igw has incorrect connection parameters
This commit is contained in:
parent
f2c6d9f9a7
commit
041d6f6077
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue