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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南