commands.sh

pulumi destroy

all

Destroy all existing resources in a stack.

More info →

Options (2)

-s, --stackboolean

Destroy all resources in a specific stack

Example: pulumi destroy {{[-s|--stack]}} {{stack}}
-y, --yesboolean

Automatically approve and destroy resources after previewing

Example: pulumi destroy {{[-y|--yes]}}

Examples (6)

Destroy all resources in the current stack

Destroy all resources in a specific stack

pulumi destroy [-s|--stack] stack

Automatically approve and destroy resources after previewing

pulumi destroy [-y|--yes]

Exclude protected resources from being destroyed

pulumi destroy --exclude-protected

Remove the stack and its configuration file after all resources in the stack are deleted

Continue destroying the resources, even if an error is encountered

pulumi destroy --continue-on-error
made by @shridhargupta | data from tldr-pages