Pulumi Automation API adds --diff to destroy
Introduced 2026-04-16 · score 0.93
HOW TO USE IT
When reviewing a stack destroy through Automation API, enable `--diff` on the destroy operation to show the diff before resources are deleted.
WHY THIS HELPS
Review the planned changes before destroying a stack through the Automation API.
REQUIREMENTS AND LIMITATIONS
- Version: v3.231.0
- --diff (required): Release note says to pass this option to Automation API destroy to show a diff; its language-specific parameter name and exact syntax are not documented in the official API reference found.
- Prerequisite: Automation API requires the Pulumi CLI at runtime; install it and add it to `PATH`, or install it programmatically.
- The change applies to the Go, Node.js, and Python Automation APIs.
FIRST-PARTY EVIDENCE
- https://github.com/pulumi/pulumi/releases/tag/v3.231.0
- https://www.pulumi.com/docs/iac/concepts/automation-api/
Check the installed version and the source before using it. Entry JSON