Deploy to Lambda@Edge with custom docker image (Ubuntu 22.04 and NodeJS 14)

0

I have a Lambda function that is using a docker image that's running Ubuntu 22.04 and NodeJS 14. The function works fine, but when I try to deploy it to @edge, it gives me this error: "Correct the errors above and try again. Runtime must be one of: Node.js 12.x, Node.js 14.x, Node.js 16.x, Node.js 18.x, Python 3.7, Python 3.8, Python 3.9."

Does Lambda@edge allows custom docker image or is it only working for lambda function that are using the AWS runtime?

질문됨 일 년 전1161회 조회
1개 답변
1
수락된 답변

Please refer to Restrictions on edge functions.

The following Lambda features are not supported by Lambda@Edge:

  • Lambda functions with AWS Lambda layers.
  • Lambda functions defined as container images.

So at the time of writing, you can only deploy a Lambda@Edge functions based on an AWS runtime and using one of the mentioned runtime versions.

profile pictureAWS
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠