Closed rli closed 3 years ago
Thanks for the report @rli - This has since been addressed in https://github.com/aws/aws-lambda-python-runtime-interface-client/pull/45 and is going to be released as part of the 1.2.0
version of the awslambdaric
package.
For the deployed python3.8 runtime on AWS today, the following Lambda is valid:
Handler:
src/hello_world.app.lambda_handler
Tree as displayed in Lambda console:app.py:
Execution result:
However, a local container with the latest
awslambdaric
fails to run the same lambda:This change in behavior appears to be introduced by https://github.com/aws/aws-lambda-python-runtime-interface-client/commit/620b14824600db3c32ba8e234e3175dbece8b8b5. Is this intended behavior? Since the handler above works on Lambda today, this appears to be customer-breaking.