Not able to deploy lambda layer through terraform - Getting RequestEntityTooLargeException

0

Not able to deploy lambda layer through terraform. Getting RequestEntityTooLargeException, however Zip file size is 5532413 bytes Unzipped content size is 14200470 Both are within the permitted size limits. We are able to create other layers which are of more size than this.

質問済み 9ヶ月前524ビュー
1回答
0

Hi,

When you upload a deployment package or layer archive directly to Lambda, the size of the ZIP file is limited to 50 MB. To upload a larger file, store it in Amazon S3 and use the S3Bucket and S3Key parameters. See also https://docs.aws.amazon.com/lambda/latest/dg/troubleshooting-deployment.html#troubleshooting-deployment-updatefunctioncode

profile pictureAWS
エキスパート
回答済み 9ヶ月前
profile picture
エキスパート
レビュー済み 9ヶ月前
  • Hi, the file size which I am trying to upload is 5.5 MB (5532413 bytes) only.

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

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

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

関連するコンテンツ