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?

質問済み 1年前1160ビュー
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
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ