diff --git a/lib/ansible/modules/cloud/amazon/lambda_policy.py b/lib/ansible/modules/cloud/amazon/lambda_policy.py index f79897d4450..2e7a1b403c8 100644 --- a/lib/ansible/modules/cloud/amazon/lambda_policy.py +++ b/lib/ansible/modules/cloud/amazon/lambda_policy.py @@ -261,8 +261,6 @@ def get_policy_statement(module, client): :param client: :return: """ - - policy = dict() sid = module.params['statement_id'] # set API parameters