How can I troubleshoot the "Runtime.InvalidEntrypoint" error for my Lambda function that's from a Docker image?
2 minute read
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.
Make sure that the ENTRYPOINT is correct in the Lambda function's configuration. Also, the ENTRYPOINT must match the command in the container's Dockerfile that's used for the runtime.
Verify that the container image is pushed to the correct Amazon Elastic Container Registry (Amazon ECR).