A Developer has created a large Lambda function, and deployment is failing with the following error:
ClientError: An error occurred (InvalidParameterValueException) when calling the CreateFunctionoperation: Unzipped size must be smaller than XXXXXXXXX bytes’, where XXXXXXXXX is the currentLambda 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 ZIP.
C. Break the function into multiple smaller Lambda functions.
D. ZIP the ZIP file twice to compress it further.
ClientError: An error occurred (InvalidParameterValueException) when calling the CreateFunctionoperation: Unzipped size must be smaller than XXXXXXXXX bytes’, where XXXXXXXXX is the currentLambda 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 ZIP.
C. Break the function into multiple smaller Lambda functions.
D. ZIP the ZIP file twice to compress it further.