getmoto / moto

A library that allows you to easily mock out tests based on AWS infrastructure.
http://docs.getmoto.org/en/latest/
Apache License 2.0
7.66k stars 2.05k forks source link

Error in server/standalone mode #8133

Closed tumkurrunner closed 1 month ago

tumkurrunner commented 1 month ago

Lambda invoke error for Java 17 runtime. Steps: Error: entrypoint requires the handler name to be the first argument export MOTO_DOCKER_LAMBDA_IMAGE="amazon/aws-lambda-java" then started moto-server -H 0.0.0.0 Created a lambda function using aws lambda create-function.. and then invoked using aws lambda invoke which results in error " entrypoint requires the handler name to be the first argument"

bblommers commented 1 month ago

Hi @tumkurrunner, can you share a fully reproducible example?

Does your code run successfully against AWS?

tumkurrunner commented 1 month ago

Sorted now it was problem with my python version 3.6