Per-resource locking for Pulumi.
The engine plywood can run with engine: plunge.
plunge runs stock Pulumi's programs, SDKs, language hosts and providers, and changes where state lives and how a run decides ownership:
- Each taggable resource carries two markers,
plunge-stackandplunge-urn, written in its create call (tags on AWS and Azure, digests in labels on Google Cloud and Kubernetes). - A
plunge+<store>backend (file,s3,gs,azblob,k8s) keeps one record per resource, each write conditional, with no stack lock. - An unnamed resource of a covered type gets the same name on every run, and a saved plan whose records moved is refused (exit 40). Each delete is checked against the live marker (#37).
plunge stack adoptmoves a stock stack onto records;plunge drift --resourcereads one resource's drift with one provider Read.
The ownership model is chant's identity markers, carried into Pulumi as choudoufu carries them into OpenTofu. Both are chant engines (a chant workspace runs a plunge stack as a member) that also work standalone, planned in #2 with the design record in #9.
The documentation at https://intentius.io/plunge is built from site/. Design details are in
docs/plunge/CONCURRENCY.md and docs/plunge/ADOPT.md. just site-serve (live reload) and
just site-preview (the built site) serve http://127.0.0.1:4321/plunge/, or another port given as an
argument; just site builds it with its link and contrast checks.
- The backend URL gains a
plunge+prefix, and each taggable resource getsplunge-stackandplunge-urntags. - A new unnamed resource gets its name plus seven hex digits, the same on every run.
- A delete,
plunge destroyincluded, is refused when a taggable object has lost its markers. plunge previewandplunge uprefresh from the cloud first.PLUNGE_REFRESH=falseturns that off.- No stack history or checkpoint backups. Bucket versioning keeps earlier versions of each record.
- Replacing a resource whose name plunge chose deletes the old object before creating the new one (#12).
plunge v0.2.0 (Pulumi-compatible 3.272.0) is on the
releases page with a checksums
file, for darwin, linux and windows on arm64 and x64. Each archive unpacks to plunge/ (on Windows
plunge/bin/), the CLI beside its language hosts; put that directory on PATH. The
quickstart has the commands and the checksum
check, and runs a first preview offline in five minutes; Install
covers the macOS quarantine step, a permanent PATH and uninstalling.
Forked from pulumi/pulumi master at 7e12743da8 (2026-10-25,
after the 3.272.0 release), with upstream history kept. The upstream remote points at pulumi/pulumi,
merged in, never rebased.
Choices that keep those merges cheap:
- Go module paths stay
github.com/pulumi/pulumi/...and the CLI's main package stays atpkg/cmd/pulumi; only the output name changes, toplunge. - plunge-only code goes in new files where it can:
pkg/plunge/,build/plunge.mk,.goreleaser.plunge.yml,scripts/plunge-*.sh. Upstream's.goreleaser.ymland Makefile targets stay. - Plugin protocol names are unchanged: SDKs and providers look up
pulumi-language-<lang>hosts andpulumi-resource-<name>providers. - Upstream's GitHub workflows sit, inactive, in
.github/upstream-workflows/(see the README there).
A plunge build carries two versions:
- plunge's own, from
.plunge-version(orPLUNGE_VERSION), and - the Pulumi-compatible version, the newest upstream release merged in (the top heading of
CHANGELOG.md, orPULUMI_VERSION). The engine reports it wherever upstream reports "the CLI version": a project'srequiredPulumiVersion, a plugin'spulumiVersionRange, and theRequirePulumiVersionRPC that SDKs call (pulumi.requirePulumiVersionand friends).
scripts/plunge-version.sh plunge|pulumi|ldflags prints them.
$ plunge version
plunge v0.2.0
pulumi v3.272.0
$ plunge version --pulumi-compatible
v3.272.0Through a symlink named pulumi, version prints only the Pulumi-compatible version, the bare semver
Automation API parses.
plunge doesn't run upstream's update check, which would point at pulumi's releases and installers.
The generated Automation API wrappers (sdk/go/auto/automation, sdk/nodejs/automation/interface,
sdk/python/lib/pulumi/automation/interface) are upstream's, regenerated on each upstream merge.
plunge's drift and stack adopt are hand-written beside them: Go's API.Drift and
API.StackAdopt in sdk/go/auto/automation/plunge_commands.go (options in optplungedrift and
optplungestackadopt), and a PlungeAPI class (the generated API plus drift and stackAdopt /
stack_adopt) in sdk/nodejs/automation/plunge.ts and sdk/python/lib/pulumi/automation/plunge.py.
Tools come from .mise.toml, as upstream (see CLAUDE.md).
make plunge # bin/plunge, both versions stamped
make build # upstream's build (CLI, SDKs, language hosts) plus bin/plunge
make plunge_language_hosts # fetch the bundled dotnet and yaml hosts into bin/ for this machine
mise run plunge-build # bin/plunge without makemake plunge needs mise's protoc. On a fresh checkout its .make/proto step runs
proto/generate.sh, which also needs mise's protoc-gen-go and protoc-gen-go-grpc and the node protoc
plugins. The generated code is committed, so building without mise needs no protoc:
go build -C pkg -o ../bin/plunge -ldflags "$(./scripts/plunge-version.sh ldflags)" ./cmd/pulumiWithout -ldflags both versions are empty and the version checks are off, as on an upstream dev build.
The language hosts are separate Go modules and build with a plain go build, for example
go build -C sdk/nodejs/cmd/pulumi-language-nodejs -o ../../../../bin/pulumi-language-nodejs ..
Build to bin/ (ignored) or -o /dev/null; .gitignore also covers the binary a bare go build
leaves in the source directory.
The release archive follows upstream's layout: next to the plunge binary, where the CLI looks, sit
the in-repo hosts (nodejs, bun, python, go, pcl) built from this tree and the dotnet and yaml hosts from
their pulumi releases at the versions in scripts/get-language-providers.sh. The CLI installs Java and
HCL on first use, at the versions in pkg/util/plugin.go (knownLanguageRuntimes).
A host neither bundled nor on PATH is fetched as upstream fetches it: stock pulumi's build at
plunge's Pulumi-compatible version, the same code while plunge's hosts match upstream's.
A release is cut by chant release, configured in chant.config.ts. Dispatch
.github/workflows/plunge-chant-release.yml with the version (0.3.0, or auto to take it from the
conventional commits since the last release). It checks that the commit's checks passed, tags the commit
plunge-vX.Y.Z (a bare vX.Y.Z tag is upstream pulumi's naming and is never made, #33), builds
with .goreleaser.plunge.yml in snapshot mode, and publishes the plunge-vX.Y.Z-<os>-<arch> archives and
checksums as a GitHub release, with the Windows binaries unsigned. The first was plunge-v0.1.0, on 2026-10-27.
The snapshot build below lists the same artifacts and publishes nothing.
./scripts/prep-for-goreleaser.sh
PULUMI_VERSION=$(./scripts/plunge-version.sh pulumi) CHANT_RELEASE_LABEL=$(./scripts/plunge-version.sh plunge) \
goreleaser release -f .goreleaser.plunge.yml --snapshot --cleanscripts/plunge-baseline.sh runs plunge preview and stock pulumi preview on each program in
tests/plunge-corpus/ against the local emulators and compares them. P-L0 accepts a match at a later
upstream merge as well as at the fork point. The maintainer runs it with the inputs its header documents.
The record store acceptance check is scripts/plunge-races/races.sh lifecycle on floci's S3, with a
plunge+s3:// store (#6). Its VERDICT lines cover preview, up, two concurrent updates
on disjoint resources with no lock object in the store, an export that assembles with integrity checking
and has one record per URN, an older program's run keeping a newer run's resource, drift and destroy. The
recorded verdicts are in tests/plunge-races/lifecycle/verdicts.txt.
races.sh readback runs the same concurrent check on pulumi-random RandomStrings, whose refresh reads
inputs back in the provider's form, and checks that a plain re-run writes no record. The environment is
in scripts/plunge-races/lib.sh.
git fetch upstream
git merge upstream/masterThen check that no new workflow landed in .github/workflows (the plunge-upstream-guard workflow
fails if one did), and rebuild. The Pulumi-compatible version follows CHANGELOG.md by itself.
scripts/plunge-upstream-merge.sh does the same on a fresh branch. It fetches pulumi/pulumi master,
setting the upstream push URL to no-push://, cuts upstream-merge/<date>-<upstream sha> from
origin/integration/pulumi-engine (or BASE), merges with a merge commit, moves any new upstream
workflow into .github/upstream-workflows/ in its own commit, and builds sdk, pkg, sdk/pcl, the
three language hosts (with GOTOOLCHAIN=go1.27.4) and bin/plunge. Conflicts confined to upstream's
generated Automation API or go.mod/go.sum files take upstream's side, then it re-applies
scripts/plunge-go-mod-fork.txt and runs go mod tidy in each module scripts/tidy.sh covers. Any
other conflict aborts the merge with the file list, for a human. --push pushes only
upstream-merge/* branches to origin; it never merges into the integration branch or main. Results go
to plunge-upstream-merge-out/: report.md, and verdict.txt with one line,
UPSTREAM-MERGE UP-TO-DATE|MERGED|CONFLICT|BUILD-FAILED|ERROR ....
The plunge-upstream-merge workflow runs it every Monday with --push and opens an issue (no PR) with
the report. GITHUB_TOKEN can't push commits touching .github/workflows, so set PLUNGE_MERGE_TOKEN
to a token with the workflows permission. The schedule starts once the file is on main, the default
branch.
SDKs query engine features through GetDeploymentInfo's SupportedFeatures (current SDKs) or
SupportsFeature("<id>") (older ones, and the fallback). pkg/cmd/plunge-sdk-check takes each SDK's
latest release (nodejs and python from npm and PyPI, go from the Go proxy, dotnet from NuGet with the
source at its pulumi-dotnet tag, java's sources jar from Maven Central, yaml through the Go SDK version
pulumi-yaml's go.mod pins), puts the features its code asks for to plunge's resource monitor
(deploy.QueryMonitorFeatures), and compares its minimum CLI version with plunge's Pulumi-compatible
version.
cd pkg
go run ./cmd/plunge-sdk-check -pulumi-version "$(../scripts/plunge-version.sh pulumi)" -out verdicts.txt
# a local tree instead of a download:
go run ./cmd/plunge-sdk-check -lang nodejs -source nodejs=../sdk/nodejs -source-version nodejs=dev \
-pulumi-version "$(../scripts/plunge-version.sh pulumi)"Verdict lines:
MONITOR-FALSE plunge - <feature> (...) plunge's monitor answers false
SDK <lang> <version> files=.. legacy=.. enum=.. missing=..
VERSION-OK|VERSION-TOO-OLD|VERSION-UNKNOWN <lang> <version> min-cli=.. plunge-pulumi=..
SDK-AHEAD <lang> <version> plunge-pulumi=.. a nodejs/python/go SDK newer than plunge's upstream base
FEATURE-OK <lang> <version> <feature> (...)
FEATURE-MISSING <lang> <version> <feature> (...)
SDK-ERROR <lang> ... the release couldn't be fetched, or no feature checks were found
An enum value missing from plunge's proto gives FEATURE-MISSING with the note "unknown to plunge's
proto; merge upstream". The daily plunge-sdk-check workflow keeps one open issue for
FEATURE-MISSING, VERSION-TOO-OLD and SDK-ERROR lines.
Upstream's README follows.
Pulumi Infrastructure as Code is the easiest way to build and deploy infrastructure, of any architecture and on any cloud, using programming languages that you already know and love. Code and ship infrastructure faster with your favorite languages and tools, and embed IaC anywhere with Automation API.
Simply write code in your favorite language and Pulumi automatically provisions and manages your resources on AWS, Azure, Google Cloud Platform, Kubernetes, and 300+ providers using an infrastructure-as-code approach. Skip the YAML, and use standard language features like loops, functions, classes, and package management that you already know and love.
For example, create three web servers:
import * as aws from "@pulumi/aws";
const ami = aws.ec2.getAmiOutput({
mostRecent: true,
owners: ["amazon"],
filters: [{ name: "name", values: ["al2023-ami-*-x86_64"] }],
});
const sg = new aws.ec2.SecurityGroup("web-sg", {
ingress: [{ protocol: "tcp", fromPort: 80, toPort: 80, cidrBlocks: ["0.0.0.0/0"] }],
});
for (const i of [0, 1, 2]) {
new aws.ec2.Instance(`web-${i}`, {
ami: ami.id,
instanceType: "t3.micro",
vpcSecurityGroupIds: [sg.id],
userData: `#!/bin/bash
echo "Hello, World!" > index.html
nohup python3 -m http.server 80 &`,
});
}Or a simple serverless timer that archives Hacker News every day at 8:30AM:
import * as aws from "@pulumi/aws";
import { DynamoDBClient } from "@aws-sdk/client-dynamodb";
import { DynamoDBDocumentClient, PutCommand } from "@aws-sdk/lib-dynamodb";
const snapshots = new aws.dynamodb.Table("snapshots", {
attributes: [{ name: "id", type: "S" }],
hashKey: "id",
billingMode: "PAY_PER_REQUEST",
});
aws.cloudwatch.onSchedule("daily-yc-snapshot", "cron(30 8 * * ? *)", async () => {
const res = await fetch("https://news.ycombinator.com");
const content = await res.text();
const client = DynamoDBDocumentClient.from(new DynamoDBClient({}));
await client.send(new PutCommand({
TableName: snapshots.name.get(),
Item: { id: `${Date.now()}`, content },
}));
});Many examples are available spanning containers, serverless, and infrastructure in pulumi/examples.
Pulumi is open source under the Apache 2.0 license, supports many languages and clouds, and is easy to extend. This
repo contains the pulumi CLI, language SDKs, and core Pulumi engine, and individual libraries are in their own repos.
-
Get Started with Pulumi: Deploy a simple application in AWS, Azure, Google Cloud, or Kubernetes using Pulumi.
-
Learn: Follow Pulumi learning pathways to learn best practices and architectural patterns through authentic examples.
-
Examples: Browse several examples across many languages, clouds, and scenarios including containers, serverless, and infrastructure.
-
Docs: Learn about Pulumi concepts, follow user-guides, and consult the reference documentation.
-
Registry: Find the Pulumi Package with the resources you need. Install the package directly into your project, browse the API documentation, and start building.
-
Secrets Management: Tame secrets sprawl and configuration complexity securely across all your cloud infrastructure and applications with Pulumi ESC.
-
Community Slack: Join us in Pulumi Community Slack. All conversations and questions are welcome.
-
GitHub Discussions: Ask questions or share what you're building with Pulumi.
See the Get Started guide to quickly get started with Pulumi on your platform and cloud of choice.
Otherwise, the following steps demonstrate how to deploy your first Pulumi program, using AWS Serverless Lambdas, in minutes:
-
Install:
To install the latest Pulumi release, run the following (see full installation instructions for additional installation options):
curl -fsSL https://get.pulumi.com/ | sh -
Create a Project:
After installing, you can get started with the
pulumi newcommand:mkdir pulumi-demo && cd pulumi-demo pulumi new serverless-aws-typescript
The
newcommand offers templates for all languages and clouds. Run it without an argument and it'll prompt you with available projects. This command creates an AWS Serverless Lambda project written in TypeScript. -
Deploy to the Cloud:
Run
pulumi upto get your code to the cloud:pulumi up
This makes all cloud resources needed to run your code. Simply make edits to your project, and subsequent
pulumi ups will compute the minimal diff to deploy your changes. -
Use Your Program:
Now that your code is deployed, you can interact with it. In the above example, we can curl the endpoint:
curl $(pulumi stack output url) -
Access the Logs:
If you're using containers or functions, Pulumi's unified logging command will show all of your logs:
pulumi logs -f
-
Destroy your Resources:
After you're done, you can remove all resources created by your program:
pulumi destroy -y
To learn more, head over to pulumi.com for much more information, including tutorials, examples, and details of the core Pulumi CLI and programming model concepts.
| Language | Status | Runtime | Versions | |
|---|---|---|---|---|
| JavaScript | Stable | Node.js | Current, Active and Maintenance LTS versions | |
| TypeScript | Stable | Node.js | Current, Active and Maintenance LTS versions | |
| Python | Stable | Python | Supported versions | |
| Go | Stable | Go | Supported versions | |
| .NET (C#/F#/VB.NET) | Stable | .NET | Supported versions | |
| Java | Stable | JDK | 11+ | |
| YAML | Stable | n/a | n/a |
Visit the Registry for the full list of supported cloud and infrastructure providers.
Visit CONTRIBUTING.md for information on building Pulumi from source or contributing improvements.

