sincecutoff.com
← all changes

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: bun
pulumi up

WHY 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

Check the installed version and the source before using it. Entry JSON

Report a problem with this card