From c10c7aa67b742a1ee5bc3acb17cd6283d91a046e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Mas=C5=82owski?= Date: Tue, 24 Jan 2017 17:21:32 +0100 Subject: [PATCH] lambda: Remove the note about supporting S3 uploads only (#20562) The module supports also ZIP uploads which are documented. Refer to the correct boto3 function in the return value description. --- lib/ansible/modules/cloud/amazon/lambda.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/ansible/modules/cloud/amazon/lambda.py b/lib/ansible/modules/cloud/amazon/lambda.py index cef3b38e30f..cee8efc0f93 100644 --- a/lib/ansible/modules/cloud/amazon/lambda.py +++ b/lib/ansible/modules/cloud/amazon/lambda.py @@ -96,8 +96,6 @@ options: - List of VPC security group IDs to associate with the Lambda function. Required when vpc_subnet_ids is used. required: false default: None -notes: - - 'Currently this module only supports uploaded code via S3' author: - 'Steyn Huizinga (@steynovich)' extends_documentation_fragment: @@ -141,7 +139,7 @@ tasks: RETURN = ''' output: - description: the data returned by create_function in boto3 + description: the data returned by get_function in boto3 returned: success type: dict sample: