How can I troubleshoot the "Runtime.InvalidEntrypoint" error for my Lambda function that's from a Docker image?

2 minutos de lectura
0

I received a "Runtime.InvalidEntrypoint" error when trying to create an AWS Lambda function from a Docker image.

Resolution

When the entry in the Lambda function configuration is incorrect, you receive the "Runtime.InvalidEntrypoint". To resolve this issue, check the following configuration settings for your Lambda function.


Related information

How do I create a Lambda layer using a simulated Lambda environment with Docker?

Troubleshoot container image issues in Lambda

How do I use container images with Lambda?

OFICIAL DE AWS
OFICIAL DE AWSActualizada hace un año
2 comentarios

Recieved the error "rror: fork/exec /lambda-entrypoint.sh: exec format error Runtime.InvalidEntrypoint"

Was able to resolve the error after adding respective architecture tag in docker file for runtime image "public.ecr.aws/lambda/python:3.11-x86_64",

respondido hace 5 meses

Thank you for your comment. We'll review and update the Knowledge Center article as needed.

profile pictureAWS
MODERADOR
respondido hace 5 meses