This repository provides Bun as an AWS Lambda runtime layer. It enables running JavaScript and TypeScript applications on AWS Lambda using Bun.
Tip
This is Bun itself packaged as a Lambda layer, not the special Lambda runtime layer that Bun provides. If you need that layer, you can find instructions over at oven-sh/bun/packages/bun-lambda
Two architecture layers are available:
Layer Name | Arch | ARN |
---|---|---|
BunRuntimeArm64 | ARM64 | arn:aws:lambda:{region}:582637575117:layer:BunRuntimeArm64:{version} |
BunRuntimeX64 | X64 | arn:aws:lambda:{region}:582637575117:layer:BunRuntimeX64:{version} |
This repository automatically checks for new Bun releases on the first day of each month. When a new version is detected:
- GitHub Actions builds the new layer packages
- Deploys them to AWS regions as a new version
Note
The version of Bun in the layer may be behind the version in the bun repo and there will not be a corresponding layer version for every version of bun released.
@sumcoding