TerraformPilot

Infrastructure as Code

Pulumi v3.278.0: CLI Notifications, Env Approvals, and a Breaking SDK/Go Change

Pulumi v3.278.0 adds CLI notifications, renames env change-request to approval, and ships a breaking property.Map.All change for Go SDK users.

LLuca Berton3 min read

Introduction

#

Pulumi v3.278.0 landed on 2026-11-24, following v3.277.0. This release is mostly bug fixes and security-adjacent hardening (log redaction, file permissions, stack trace plumbing), plus two small CLI features and one breaking change for Go SDK consumers working with property.Map/property.Array. Nothing here requires a major migration, but the Go SDK breaking change and the pulumi env change-request deprecation are worth noting before upgrading in CI.

What Is New

#

CLI notifications after commands

#

Pulumi now shows notifications after running commands. They can be dismissed or disabled entirely, which matters for scripted/CI usage where extra stdout noise is unwanted (#25686):

# Hide a specific notification
pulumi notifications dismiss
 
# Turn notifications off globally (e.g. in CI)
export PULUMI_HIDE_NOTIFICATIONS=true
pulumi up

pulumi env change-request renamed to pulumi env approval

#

The experimental environment change-request workflow has been renamed, and environment open requests are now supported. pulumi env change-request still works but is deprecated (#25473):

# Old (deprecated)
pulumi env change-request list
 
# New
pulumi env approval list

Additionally, pulumi env edit can now offer to submit changes as a change request when the target environment requires approval (#24935).

pulumi new offers to run provider sign-in commands

#

When pulumi new detects missing or expired credentials, it can now offer to run the command a provider suggests (for example, a cloud CLI sign-in) directly, rather than failing with an error (#25598).

Notable bug fixes

#
  • Preview no longer requires stack:encrypt permission: the engine avoids re-encrypting the in-memory snapshot on every step during pulumi preview, which removes a previously required permission (#25793). Teams with tightly scoped RBAC on stacks can relax stack:encrypt grants for read-only preview roles.
  • Secrets no longer leak in Node.js debug logs: RPC response values are no longer included in Node.js SDK debug log messages, closing a path where secrets could appear in plaintext logs (#25834). Worth a mention if debug logs from older versions were archived anywhere.
  • Verbose log file permissions tightened: the CLI now creates verbose log files in the temp directory with owner-only permissions (#25818).
  • Cleaner output: the resource is awaiting warning printed for every awaiting resource has been removed from the CLI display (#25775).
  • Shutdown robustness: programs now get up to five seconds to finish cleanup and flush telemetry after deployment errors (#25795), and Node.js programs flush OpenTelemetry traces on error exit (#25800).

Breaking change: Go SDK property.Map/property.Array

#

This release includes a BREAKING change in sdk/go (#25814):

  • property.Map.All, property.Map.AllStable, and property.Array.All now return iter.Seq2 instead of their previous iterator type.
  • property.Value.Secret has been renamed to property.Value.IsSecret.

Any Go code using these methods — typically found in component providers or dynamic provider implementations — needs updating:

// Before
for k, v := range m.All() {
    if v.Secret() { /* ... */ }
}
 
// After (iter.Seq2 usage is unchanged in the range loop,
// but the method name for checking secrecy changes)
for k, v := range m.All() {
    if v.IsSecret() { /* ... */ }
}

Grep any custom provider or SDK-adjacent Go code for .Secret() calls on property.Value before upgrading.

Deprecation note

#

PackageReference.InterpretPulumiRefs is deprecated in favor of PackageReference.InterpretPulumiRefsWithDiagnostics, which returns rendered text along with diagnostics instead of failing the whole string on one bad reference (#24762). Relevant to anyone building tooling around Pulumi package documentation references.

Upgrade Steps

#

Pin the CLI/engine version and SDKs as appropriate for the project's language runtime. For a typical TypeScript/Python/Go project using the CLI directly:

# Check current version
pulumi version
 
# Upgrade the CLI (Homebrew example)
brew upgrade pulumi
 
# Or via the install script
curl -fsSL https://get.pulumi.com | sh -s -- --version 3.278.0

For projects pinning the Go SDK:

go get github.com/pulumi/pulumi/sdk/v3@v3.278.0
go mod tidy

If the project uses Automation API in Node.js or Python, bump the corresponding package:

npm install @pulumi/pulumi@^3.278.0
# or
pip install --upgrade pulumi

Before upgrading, search Go component provider code for .Secret() on property.Value and for direct iteration patterns on property.Map/property.Array that assume the old iterator type, per the breaking change above.

Verify

#

After upgrading, confirm the CLI version and run a dry preview to confirm permission behavior and output changes:

pulumi version
# Expect: 3.278.0
 
pulumi preview --stack <stack-name>

For teams relying on the relaxed preview permissions, confirm a role without stack:encrypt can still run pulumi preview successfully against the service backend. For Go SDK consumers, run go build ./... after the dependency bump to catch any remaining .Secret() references immediately.

Conclusion

#

v3.278.0 is a routine release dominated by bug fixes, several touching logging security and stack-trace fidelity across Node.js, Python, and Go. The one breaking change is scoped to Go SDK users calling property.Map/property.Array iteration methods or property.Value.Secret, and the pulumi env change-request rename is backward compatible for now. No HCL-equivalent configuration changes are introduced since Pulumi programs are general-purpose code, but CLI flag and environment variable behavior (PULUMI_HIDE_NOTIFICATIONS) is worth adding to CI pipeline scripts. Full details are on the release page.

#Pulumi#Pulumi CLI#Pulumi SDK#Go#Policy as Code#CI/CD

Share this article