Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

594
Views
Can aws-sdk be a development dependency when developing lambdas with NodeJS?

I am quite new in trying to develop lambdas with NodeJs, so this question might sound silly.

One of the limitations of lambdas is the size of the function / dependencies (250 MB) and I was wondering if aws-sdk (which has >45 MB)can be treated as a dev-dependency since it occupies 1/5 of the total size of a lambda.

I understand that this is required during development, but is it not the case that this already exists in the lambda container once deployed to AWS?

Any suggestion would help as all the articles that I browsed seem to install it as a prod dependency.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Absolutely, aws-sdk is available by default as an npm dependency inside lambda containers, so if you leave it as a development dependency, your code will still work inside lambda.

Here you can see which lambda containers contain which version of the AWS SDK. So in case you really need a specific version or one that is not yet loaded in the lambda containers, you can include your own manually.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!