Pulumi Node.js SDK supports Bun as a runtime
Introduced 2026-03-12 · score 0.94
HOW TO USE IT
When the Pulumi CLI is v3.226.0 or later and the repository should use Bun, set `runtime: bun` in `Pulumi.yaml`; Bun runtime does not support function serialization.
runtime: bunpulumi upWHY THIS HELPS
Run a Pulumi TypeScript or Node.js SDK program in a repository configured to use Bun.
REQUIREMENTS AND LIMITATIONS
- Version: 3.226.0
- runtime (required): Set to `bun` to select the Bun runtime.
- Prerequisite: Use Pulumi CLI 3.226.0 or later and install Bun; the v3.226.0 source implements a minimum `@pulumi/pulumi` SDK check of 3.226.0 for Bun.
- Function serialization is not supported in Bun.
- Docs conflict: Current Pulumi TypeScript docs say Bun is first-class as of Pulumi 3.227.0; the v3.226.0 release source includes Bun runtime support. The current docs describe newer-version behavior.
FIRST-PARTY EVIDENCE
- https://github.com/pulumi/pulumi/releases/tag/v3.226.0
- https://github.com/pulumi/pulumi/pull/22049
- https://github.com/pulumi/pulumi/pull/22177
- https://github.com/pulumi/pulumi/blob/v3.226.0/sdk/nodejs/cmd/pulumi-language-nodejs/testdata/published/bun/projects/l1-builtin-can/Pulumi.yaml
- https://www.pulumi.com/docs/iac/languages-sdks/javascript/
- https://github.com/pulumi/pulumi/blob/v3.226.0/sdk/nodejs/cmd/pulumi-language-nodejs/main.go
Check the installed version and the source before using it. Entry JSON