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: Node.js 18.x support #81

Merged
merged 2 commits into from
Oct 16, 2023
Merged

fix: Node.js 18.x support #81

merged 2 commits into from
Oct 16, 2023

Conversation

kichik
Copy link
Member

@kichik kichik commented Oct 16, 2023

Lambda with Node 18 no longer packages aws-sdk v2, so we need to switch to v3. We also need to bundle it since Node 16 still comes with v2. To support both 16 and 18, we need to bundle aws-sdk.

BREAKING CHANGE: CDK 2.87.0 and above is required

Lambda with Node 18 no longer packages aws-sdk v2, so we need to switch to v3. We also need to bundle it since Node 16 still comes with v2. To support both 16 and 18, we need to bundle aws-sdk.
This fixes:
```
node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by node)
```
@kichik kichik marked this pull request as ready for review October 16, 2023 14:31
@mergify mergify bot merged commit b380a6a into main Oct 16, 2023
16 checks passed
@mergify mergify bot deleted the node18 branch October 16, 2023 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant