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

fix(sdk): removing aws-sdk v3 from bundling #4109

Merged
merged 2 commits into from
Sep 6, 2023

Conversation

marciocadev
Copy link
Collaborator

@marciocadev marciocadev commented Sep 6, 2023

The bundling is configured for Node.js 16 (pointing to aws-sdk v2 as an external library), but we are configuring our functions on AWS with Node.js 18, which already includes aws-sdk v3.

Our entire implementation is using version 3 of aws-sdk, so I am updating the bundling to use Node.js 18 and marking @aws-sdk as an external library.

from this
image
to this
image

Close #4103

Checklist

  • Title matches Winglang's style guide
  • Description explains motivation and solution
  • Tests added (always)
  • Docs updated (only required for features)
  • Added pr/e2e-full label if this feature requires end-to-end testing

By submitting this pull request, I confirm that my contribution is made under the terms of the Wing Cloud Contribution License.

@marciocadev marciocadev requested a review from a team as a code owner September 6, 2023 19:55
@monadabot
Copy link
Contributor

monadabot commented Sep 6, 2023

Console preview environment is available at https://wing-console-pr-4109.fly.dev 🚀

Updated (UTC): 2023-09-06 20:14

Copy link
Contributor

@staycoolcall911 staycoolcall911 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing, thanks @marciocadev!

@mergify
Copy link
Contributor

mergify bot commented Sep 6, 2023

Thanks for contributing, @marciocadev! This PR will now be added to the merge queue, or immediately merged if marciocadev/fix-aws-bundling is up-to-date with main and the queue is empty.

@mergify mergify bot merged commit 13082be into main Sep 6, 2023
15 checks passed
@mergify mergify bot deleted the marciocadev/fix-aws-bundling branch September 6, 2023 21:43
@monadabot
Copy link
Contributor

Congrats! 🚀 This was released in Wing 0.29.6.

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 this pull request may close these issues.

Lambda on AWS has 46,093 lines of code
3 participants