diff --git a/lib/ansible/modules/cloud/amazon/lambda_info.py b/lib/ansible/modules/cloud/amazon/lambda_info.py index 488a34925d..fce33453c2 100644 --- a/lib/ansible/modules/cloud/amazon/lambda_info.py +++ b/lib/ansible/modules/cloud/amazon/lambda_info.py @@ -87,7 +87,6 @@ from ansible.module_utils.aws.core import AnsibleAWSModule from ansible.module_utils.ec2 import camel_dict_to_snake_dict, get_aws_connection_info, boto3_conn import json import datetime -import sys import re @@ -366,8 +365,6 @@ def main(): except ClientError as e: module.fail_json_aws(e, "trying to set up boto connection") - this_module = sys.modules[__name__] - invocations = dict( aliases='alias_details', all='all_details',