Skip to main content

CLI and SDK rollup: Policy commands, smarter state moves, and more

We shipped a bunch of new features and improvements in the Pulumi CLI and SDK over the past month. A few highlights:

  • New policy commands, including pulumi policy get, pulumi stack policy ls to see which policies apply to a stack, pulumi policy issue edit and export, and tag-based match rules for pulumi policy group new and edit (v3.274, v3.275)
  • CLI support for policy exceptions, so exceptions you create in Pulumi Cloud apply automatically during pulumi preview and pulumi up (v3.274.1)
  • A more capable pulumi state move, with wildcards, --exclude, --parent, and --force, plus a diff view in pulumi state edit (v3.277, v3.279)
  • pulumi env change-request is now pulumi env approval and handles environment open requests too, and pulumi env edit offers to submit your changes as a change request when an environment requires approval (v3.278)
  • Generated exists methods for Go and Python SDKs, which check whether a resource exists without adopting it into your stack (v3.274)
  • Many more Automation API commands for Node.js, Python, and Go, including preview, destroy, login, deployment, insights, template, and schema (v3.274–v3.277)
  • Terminal status updates through the OSC 7501 Program Status Protocol, so terminals that support it can tell you when Pulumi is waiting for your input (v3.275)
  • pulumi preview no longer needs the stack:encrypt permission, and pulumi new can now run your cloud’s sign-in for you when it finds missing or expired credentials (v3.278)

We also removed support for DIY backends that don’t use project-scoped stacks (v3.275), so if you’re still on one, see the upgrade steps before updating.

See the Releases page on GitHub for the full list.

— Christian Nunciato

The infrastructure platform for humans and agents.