How to increase the maximum size of the AWS lambda deployment package (RequestEntityTooLargeException)?
问题 I upload my lambda function sources from AWS codebuild. My Python script uses NLTK so it needs a lot of data. My .zip package is too big and an RequestEntityTooLargeException occurs. I want to know how to increase the size of the deployment package sent via the UpdateFunctionCode command. I use AWS CodeBuild to transform the source from a GitHub repository to AWS Lambda . Here is the associated buildspec file: version: 0.2 phases: install: commands: - echo "install step" - apt-get update -