I have a setup in Travis which deploys to a testing environment and runs functional tests on it. But when I upgraded to Serverless 1.2 and run the task on Travis now, it fails with error “AuthEmailTriggerLambdaFunction - Request must be smaller than 5120 bytes for the UpdateFunctionConfiguration operation.”. And I don’t have a clue what it should mean. Limit of 5 kB? What for, the uploaded zip? My functions have 9 MB and I never had a problem with their deploy. Could there be some invisible upload limit in Travis environment? But it worked with SLS 1.1 so I don’t understand much. ;os
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Sls deploy function doesn't upload zip file onto S3 bucket like specified in doc | 0 | 2082 | June 5, 2018 | |
Getting error on deploy about uzipped file size | 1 | 3127 | January 19, 2019 | |
Single, small function to big to deploy? | 10 | 16734 | May 17, 2018 | |
After 'sls deploy', 'sls deploy function' errors with "Uploaded file must be a non-empty zip" | 0 | 2787 | November 11, 2016 | |
Can't deploy a single function with v1.6 | 0 | 1021 | March 10, 2017 |