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
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠