mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 16:23:10 +00:00
Provide AnsibleAWSModule with _name attribute (#34564)
_name attribute is used when providing generic error messages (such as connection problems). As AnsibleAWSModule does not inherit things from AnsibleModule by default, need to provide it.
This commit is contained in:
committed by
Jordan Borean
parent
ca4eb07f46
commit
04df2312e7
@@ -100,6 +100,7 @@ class AnsibleAWSModule(object):
|
||||
msg='Python modules "botocore" or "boto3" are missing, please install both')
|
||||
|
||||
self.check_mode = self._module.check_mode
|
||||
self._name = self._module._name
|
||||
|
||||
@property
|
||||
def params(self):
|
||||
|
||||
Reference in New Issue
Block a user