Deployment package size limit exceeded while deploying Chalice Application

0

I am using Chalice as backend for my application but due to n number of dependency to install the package that Chalice is building while deploying .zip file is crossing 50 MB which exceeds the allowed limit of lambda function. I tried to implement the same with setting "automatic_layer": true in config file or enabling layer also that was not working. As i am relaying on Chalice to build and deploy my application I am not able to find a way out to deploy the application using Chalice. What should I do?

1回答
0

The best place to get assistance would be on the chalice github repository. Looking at some of the open issues, there are feature requests like container support to work around the package size limit and it doesn't seem to be supported. In general, you would want to try reducing the number of dependencies (maybe use a tool other than chalice) to reduce the package size or find a way to create a container image with the chalice app to work around the size limit.

AWS
Taka_M
回答済み 1年前

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

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

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

関連するコンテンツ