Posted by: Pdfprep
Post Date: December 12, 2020
A Developer has created a large Lambda function, and deployment is failing with the following error:
ClientError: An error occurred (InvalidParameterValueException) when callingthe CreateFunction operation: Unzipped size must be smaller than XXXXXXXXXbytes’, where XXXXXXXXX is the current Lambda limit
What can the Developer do to fix this problem?
A . Submit a limit increase request to AWS Support to increase the function to the size needed.
B . Use a compression algorithm that is more efficient than ZI
D . Break the function into multiple smaller Lambda functions.
E . ZIP the ZIP file twice to compress it further.
Answer: C
Leave a Reply