Announcing Restore Stacks: Recover Deleted Stacks in the Pulumi Cloud
Blog post from Pulumi
Pulumi has introduced a feature in the Pulumi Cloud console that allows users to restore previously deleted stacks, addressing customer demands for recovering stacks due to accidental or intentional deletions. This new functionality enables users to preserve the activity history of a stack while removing its resources, contrasting with existing commands like `pulumi destroy` and `pulumi stack rm`, which either delete resources but keep the state file or remove the state file entirely. The new restoration feature, accessible through the Stacks page via a three-dot menu, allows organization admins to recover up to the last 25 deleted stacks, with older stacks requiring support assistance. This enhancement leverages Pulumi Cloud's capability to maintain state file versions, making the recovery process user-friendly and efficient, while encouraging users to provide feedback through the Pulumi Cloud Requests repository.