diff --git a/lib/ansible/modules/cloud/amazon/lambda.py b/lib/ansible/modules/cloud/amazon/lambda.py index 2e4fe3499f5..4f0b4d95b54 100644 --- a/lib/ansible/modules/cloud/amazon/lambda.py +++ b/lib/ansible/modules/cloud/amazon/lambda.py @@ -464,7 +464,7 @@ def main(): func_kwargs.update({'Environment': {'Variables': environment_variables}}) if dead_letter_arn: - func_kwargs.update({'DeadLetterConfig': {'TargetARN': dead_letter_arn}}) + func_kwargs.update({'DeadLetterConfig': {'TargetArn': dead_letter_arn}}) # If VPC configuration is given if vpc_subnet_ids or vpc_security_group_ids: