mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix aws connection to use params.
This commit is contained in:
parent
a6b6cfe2dd
commit
e05ade9806
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue