1 Answer
- Newest
- Most votes
- Most comments
0
You zipped function code is too large. See the limits here: https://docs.aws.amazon.com/lambda/latest/dg/limits.html
It has to be smaller than 50 MB
Try to upload your zip to s3 first. Then reference the archive in S3 in the CreateFunction request. This could work when your unzipped code is smaller than 250 MB.
answered 5 years ago
Relevant content
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 2 months ago