mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 03:11:24 -07:00
Pass keyword arguments from modules to _boto3_conn
This commit is contained in:
parent
124c1e3d27
commit
30268f6bd0
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class AnsibleAWSError(Exception):
|
||||||
|
|
||||||
def boto3_conn(module, conn_type=None, resource=None, region=None, endpoint=None, **params):
|
def boto3_conn(module, conn_type=None, resource=None, region=None, endpoint=None, **params):
|
||||||
try:
|
try:
|
||||||
return _boto3_conn(conn_type=None, resource=None, region=None, endpoint=None, **params)
|
return _boto3_conn(conn_type=conn_type, resource=resource, region=region, endpoint=endpoint, **params)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
module.fail_json(msg='There is an issue in the code of the module. You must specify either both, resource or client to the conn_type parameter in the boto3_conn function call')
|
module.fail_json(msg='There is an issue in the code of the module. You must specify either both, resource or client to the conn_type parameter in the boto3_conn function call')
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue