Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lambda node-18 broke aws-sdk v2 #353

Open
dchocoboo opened this issue Mar 8, 2023 · 1 comment
Open

lambda node-18 broke aws-sdk v2 #353

dchocoboo opened this issue Mar 8, 2023 · 1 comment

Comments

@dchocoboo
Copy link

i tried deploying using

  • serverless bundle 6
  • lambda node18.x

with aws-sdk still using v2 inside my src instead of v3

in the lambda it throws Cannot find module 'aws-sdk'

this is due to deprecation by aws by not including aws-sdk-v2 layers natively

please let us have the option to set aws-sdk as externals so we can include it

@cnuss
Copy link
Contributor

cnuss commented Nov 24, 2023

I've added a PR for this here:
#366

cc: @jayair

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants