From c21dd8c13be9c8868a9a7fe3cc88577fdbbe7f09 Mon Sep 17 00:00:00 2001 From: Steyn Huizinga Date: Sat, 22 Oct 2016 18:49:55 +0200 Subject: [PATCH] Fix for ansible/ansible-modules-extras#3173 (#3203) --- lib/ansible/modules/extras/cloud/amazon/lambda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/cloud/amazon/lambda.py b/lib/ansible/modules/extras/cloud/amazon/lambda.py index 650022e5bc..993effce02 100644 --- a/lib/ansible/modules/extras/cloud/amazon/lambda.py +++ b/lib/ansible/modules/extras/cloud/amazon/lambda.py @@ -289,7 +289,7 @@ def main(): current_version = None # Update function configuration - func_kwargs = {'FunctionName': name, 'Publish': True} + func_kwargs = {'FunctionName': name} # Update configuration if needed if role_arn and current_config['Role'] != role_arn: