0

I get an error when I update the code at AWS lambda function from my local machine. I tried to reduce size of files but still has same issue. I am using react JS with node modules.

Here is the error log:

The deployment package of your Lambda function "project/function name" is too large to enable inline code editing. However, you can still invoke your function.enter image description here

1
  • hephalump's answer is correct. That is not an error but an informational message about the web console. If you want to modify the code and also run it quickly take a look at SAM Local Commented Jun 9, 2019 at 17:39

1 Answer 1

2

The inline code editor has a 3mb limit for editing code. This limit includes any dependencies, so if the total size of your deployment package is greater than 3mb you’ll need to edit your code locally, zip it, and upload it to either S3 or directly in the console.

You can read about Lambda limits here.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.