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.
pull/34744/head
Will Thames 7 years ago 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):

Loading…
Cancel
Save