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

feat: Allow Lambda provider to use any version of Linux #584

Merged
merged 5 commits into from
Jun 5, 2024
Merged

Conversation

kichik
Copy link
Member

@kichik kichik commented Jun 2, 2024

Previously we required Amazon Linux 2023 (and the error message erroneously said Amazon Linux 2). With this change, we will still be using Amazon Linux 2023 by default, but Ubuntu and Amazon Linux 2 will also be supported.

Note that this changes the default base image from public.ecr.aws/lambda/nodejs:20-x86_64 to public.ecr.aws/amazonlinux/amazonlinux:2023. The new image contains all the packages in the old one plus a few more Python packages. The new image is a bit smaller so might load faster. The only difference should be nodejs 20 in /var/lang which also includes the Lambda runtime.

Resolves #510
Resolves #423

BREAKING CHANGE: Node.js is no longer included by default with Lambda runner images

kichik and others added 4 commits June 2, 2024 14:00
Update snapshot. See details in [workflow run].

[Workflow Run]: https://github.com/CloudSnorkel/cdk-github-runners/actions/runs/9340385779

------

*Automatically created by projen via the "upgrade-snapshot" workflow*
@mergify mergify bot merged commit b233582 into main Jun 5, 2024
14 checks passed
@mergify mergify bot deleted the free-lambda branch June 5, 2024 11:55
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.

feat: Allow lambda image builder to use AL2023 Support building Ubuntu-based runner image for Lambda
2 participants