Playbook to run lambda not work module community.aws.execute_lambda

Hi guys,

I’m trying to run a playbook to execute lambda, but not work.
I’m follow this https://docs.ansible.com/ansible/latest/collections/community/aws/execute_lambda_module.html#parameter-payload.
My playbook is

---------------------------------- execute-lambda.yml --------------------

After some tests, I figured out that my lambda function derived from the container don’t work and functions created from AWS console worked.

I figured out that in my lambda function in a container the output don’t in JSON format. I changed the output to JSON format and worked. Thanks