I'm writing AWS Lambda in python. When I put the package and upload it with ZIP, the message "Deployment package is too large to enable inline code editing" is displayed and inline code editing cannot be used. Here's how to avoid this. Register with the AWS Lambda layer separately for the package.
pip install xxx -t ./python/
If you write as above, the packages will be organized in a folder called python.
Zip up the python folder and upload it.
Select the layer you just saw. Now Lambda only needs the main python file.
This article is short, but that's it. Inline code editing is super convenient. I wrote locally for 2 years and uploaded a ZIP file. I should have noticed earlier.
Recommended Posts