본문 바로가기

error records

AWS Lambda Error: Unzipped size must be smaller than 262144000 bytes

반응형

 

AWS Lambda Error: Unzipped size must be smaller than 262144000 bytes

AWS Lambda 서버 배포 중 4KB 환경변수 크기 에러 해결 이후 또 나타난 에러 

 

해결 방법 :

프로젝트 파일 크기를 크게 만드는 개발 packages를 제외시키면 된다. 

 

serverless.yml 파일에서 

package:
  exclude:
    - node_modules/**

node_modules/** 를 제외하도록 추가하기 

-> 해결되었다 ! 

 

 

 

 

 

References : 

https://stackoverflow.com/questions/45342990/aws-lambda-error-unzipped-size-must-be-smaller-than-262144000-bytes

 

AWS Lambda Error: Unzipped size must be smaller than 262144000 bytes

I am developing one lambda function, which use the ResumeParser library made in the python 2.7. But when I deploy this function including the library on the AWS it's throwing me following error:

stackoverflow.com

 

 

반응형