Fix aws connection to use params.

reviewable/pr18780/r1
Alan Loi 10 years ago
parent ac09e60914
commit 1a914128f6

@ -258,7 +258,7 @@ def main():
module.fail_json(msg='boto required for this module')
region, ec2_url, aws_connect_params = get_aws_connection_info(module)
connection = boto.dynamodb2.connect_to_region(region)
connection = connect_to_aws(boto.dynamodb2, region, **aws_connect_params)
state = module.params.get('state')
if state == 'present':

Loading…
Cancel
Save