arn:aws:lambda:::awslayer:DEFAULT is not a valid execution environment when uploading lambda zip from S3

0

I'm trying to upload a lambda .zip deployment package from S3, but I'm getting this error:

arn:aws:lambda:::awslayer:DEFAULT is not a valid execution environment.

  • Is lambda function using layer or do you have any dependencies packaged along with lambda code in the zip file?

質問済み 1年前258ビュー
2回答
0

Hi,

Please check if your layer/runtime is supported.

You can check a similar issue reported on https://github.com/awsdocs/aws-lambda-developer-guide/pull/155

HTH

profile picture
回答済み 1年前
profile picture
エキスパート
レビュー済み 1年前
  • I have no layers and my runtime is Java 8. There is already a deployment package in the lambda running correctly that I am trying to update.

-1
承認された回答

Upping the timeout to 5 minutes from 15 seconds resolved this issue. Any comments on how timeouts can affect the .zip upload process are welcomed.

回答済み 1年前
profile picture
エキスパート
レビュー済み 1年前

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

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

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

関連するコンテンツ