diff --git a/plugins/modules/mq_user_info.py b/plugins/modules/mq_user_info.py index 3b893b715b2..76a8eb6b692 100644 --- a/plugins/modules/mq_user_info.py +++ b/plugins/modules/mq_user_info.py @@ -89,7 +89,8 @@ try: # use different package reference to make it work in community.aws. original line - from ansible.module_utils.core import AnsibleAWSModule + # from ansible.module_utils.core import AnsibleAWSModule + from ansible_collections.amazon.aws.plugins.module_utils.core import AnsibleAWSModule except ImportError as ex: raise ex