v3.274.0
Added 14
- Add `pulumi policy get` to show a policy pack's policies
- Add `--output json` to `pulumi policy publish`, `enable`, `disable`, `rm` and `validate-config`, and print the updated policy group after `enable` and `disable`
- Add `--stack-rule` and `--account-rule` to `pulumi policy group new` and `edit`, and show match rules in `policy group` console output
- Add `pulumi stack policy ls` to list the policy groups and policy packs that apply to a stack
- Add `schema` commands to the generated automation APIs for NodeJS, Python and Go
- Add `org usage` commands to the generated automation APIs for NodeJS, Python and Go
- Add `api` commands to the generated automation APIs for NodeJS, Python and Go
- Add `org audit-log` commands to the generated automation APIs for NodeJS, Python and Go
- Add `pulumi policy issue edit` to set the status, priority and assignee of a policy issue
- Add filter and sort flags to pulumi policy issue ls, and add pulumi policy issue export
- Generate `<Resource>Exists` functions in Go SDKs that check whether a resource with a given ID exists without adopting it into the stack
- Support `resourceExists` in generated Go programs
- Generate static `exists` methods in Python SDKs that check whether a resource with a given ID exists without adopting it into the stack
- Support `resourceExists` in generated Python programs
Changed 4
- Show each group's mode and Insights account count in `pulumi policy group ls`, including new `mode` and `numAccounts` keys in its JSON output
- Point agents to `pulumi policy group get`, `pulumi stack policy ls` and `pulumi policy issue ls` after `pulumi policy group ls`
- Add credentials helpers for backend selection, HTTP authentication, and cloud credentials
- Point AI agents that call policy endpoints through `pulumi api` to the matching `pulumi policy` command
Fixed 17
- Normalize backend URLs when logging in with OIDC
- Explain how to install missing Python dependencies when uv package discovery requires packaging behavior changed · inferred, marked in the notes below
- Restrict `@opentelemetry/api` to 1.9.x so package managers such as bun and pnpm no longer install 1.10.0, which the OpenTelemetry SDK 2.x packages do not support
- Document PULUMI_FALLBACK_TO_STATE_SECRETS_MANAGER as the fix for secret decryption errors when running from a workspace without local stack configuration
- Load the `--copy-config-from` stack before `pulumi stack init` creates the new stack, so a source stack that does not exist no longer leaves an empty stack behind
- Write block-style YAML when a CLI edit adds the first entry to an empty `{}` mapping in a stack or project file, instead of keeping the mapping on one line
- Report that Pulumi ESC requires Pulumi Cloud before attempting login on DIY backends
- Preserve snapshot integrity when a protected resource has multiple pending-delete copies of its parent
- Send the `parent`, `version` and `pluginDownloadUrl` invoke options to the engine
- Fix `hideDiffs` to resolve both resource input and output properties
- Use the explicit provider of a custom `parent` for an invoke that sets no `provider`
- Show only environment change requests in `pulumi env change-request` commands
- Report a diagnostic instead of panicking when a block that requires labels has none
- Fix invokes and calls of extension packages
- Select the provider for `pulumi.runtime.exists_resource` from its options and parent when no resource is given
- Fix `RecursionError` after creating many dynamic resources in one process
- Print a message when the CLI downloads a language runtime
3 changes to check, marked in the notes below
From Pulumi
3.274.0 (2026-11-03)
Features
- [cli/policy] Add
pulumi policy getto show a policy pack's policies #25297 - [cli/policy] Add
--output jsontopulumi policy publish,enable,disable,rmandvalidate-config, and print the updated policy group afterenableanddisable#25347 - [cli/policy] Add
--stack-ruleand--account-ruletopulumi policy group newandedit, and show match rules inpolicy groupconsole output #25345 - [cli/policy] Add
pulumi stack policy lsto list the policy groups and policy packs that apply to a stack #25345 - [auto] Add
schemacommands to the generated automation APIs for NodeJS, Python and Go #25058 - [auto] Add
org usagecommands to the generated automation APIs for NodeJS, Python and Go #25059 - [auto] Add
apicommands to the generated automation APIs for NodeJS, Python and Go #25060 - [auto] Add
org audit-logcommands to the generated automation APIs for NodeJS, Python and Go #25062 - [cli/policy] Add
pulumi policy issue editto set the status, priority and assignee of a policy issue #25334 - [cli/policy] Add filter and sort flags to pulumi policy issue ls, and add pulumi policy issue export #25333
- [sdkgen/go] Generate
<Resource>Existsfunctions that check whether a resource with a given ID exists without adopting it into the stack #25326 - [programgen/go] Support
resourceExistsin generated Go programs #25326 - [sdkgen/python] Generate static
existsmethods that check whether a resource with a given ID exists without adopting it into the stack #25336 - [programgen/python] Support
resourceExistsin generated Python programs #25336
Bug Fixes
- [cli] Normalize backend URLs when logging in with OIDC #25477
- [sdk/python] Explain how to install missing Python dependencies when uv package discovery requires packaging #25495
- [sdk/nodejs] Restrict
@opentelemetry/apito 1.9.x so package managers such as bun and pnpm no longer install 1.10.0, which the OpenTelemetry SDK 2.x packages do not support #25444 - [cli] Document PULUMI_FALLBACK_TO_STATE_SECRETS_MANAGER as the fix for secret decryption errors when running from a workspace without local stack configuration, such as the Automation API or a saved update plan applied from a different directory #24535
- [cli/stack] Load the
--copy-config-fromstack beforepulumi stack initcreates the new stack, so a source stack that does not exist no longer leaves an empty stack behind #25421 - [cli/config] Write block-style YAML when a CLI edit adds the first entry to an empty
{}mapping in a stack or project file, instead of keeping the mapping on one line, aspulumi env setdoes #25415 - [cli] Report that Pulumi ESC requires Pulumi Cloud before attempting login on DIY backends #25338
- [engine] Preserve snapshot integrity when a protected resource has multiple pending-delete copies of its parent #25384
- [pcl] Send the
parent,versionandpluginDownloadUrlinvoke options to the engine #25403 - [pcl] Fix
hideDiffsto resolve both resource input and output properties #25450 - [engine] Use the explicit provider of a custom
parentfor an invoke that sets noprovider#25403 - [cli/env] Show only environment change requests in
pulumi env change-requestcommands #25443 - [pcl] Report a diagnostic instead of panicking when a block that requires labels has none #25445
- [engine] Fix invokes and calls of extension packages #25478
- [sdk/python] Select the provider for
pulumi.runtime.exists_resourcefrom its options and parent when no resource is given #25336 - [sdk/python] Fix
RecursionErrorafter creating many dynamic resources in one process #25492 - [cli] Print a message when the CLI downloads a language runtime #25512
Improvements
- [cli/policy] Show each group's mode and Insights account count in
pulumi policy group ls, including newmodeandnumAccountskeys in its JSON output #25345 - [cli/policy] Point agents to
pulumi policy group get,pulumi stack policy lsandpulumi policy issue lsafterpulumi policy group ls#25345 - [cli] Add credentials helpers for backend selection, HTTP authentication, and cloud credentials #25260
- [cli] Point AI agents that call policy endpoints through
pulumi apito the matchingpulumi policycommand #25455 - [cli/policy] Add
--closedtopulumi policy issue ls, and show priority, assignee, policy group and policy remediation details inpulumi policy issue get#25295 - [sdkgen] Reject schema property names that contain no ASCII letters, and warn on property names that collide after reduction to lower-case ASCII letters and digits #25292
- [sdk/go] Take the ID passed to
Context.ExistsResourceas aStringInput, since it is an import ID rather than a resource ID #25326 signature changed · inferred - [sdk/go] Add
config.Value.ToCoercedObject, which returns a value with the typingMap.Setapplies below the top level of a--pathkey #25377 - [cli] Highlight backtick-quoted commands in CLI error messages #25432
- [cli] Make
pulumi import --preview-onlyemit the generated resource code #25448 - [engine] Add a
uses_output_valuesflag onRegisterResourceRequestso SDKs can carry per-leaf dependency information inline as OutputValues instead of filling in a flatpropertyDependenciesmap #25464 - [engine] Stop folding per-property dependencies into a resource's top-level
Dependencieslist after transforms run —Dependenciesnow reflects only the user's explicitdepends_on, matching the behaviour already used for resources without transforms #25472 behavior changed · inferred - [cli/policy] Return the full response from
pulumi policy issue get --output json, with the issue underpolicyIssue#25295 behavior changed · inferred