Options (2)
-s, --stackbooleanDestroy all resources in a specific stack
Example:
pulumi destroy {{[-s|--stack]}} {{stack}}-y, --yesbooleanAutomatically 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] stackAutomatically approve and destroy resources after previewing
pulumi destroy [-y|--yes]Exclude protected resources from being destroyed
pulumi destroy --exclude-protectedRemove the stack and its configuration file after all resources in the stack are deleted
pulumi destroy --removeContinue destroying the resources, even if an error is encountered
pulumi destroy --continue-on-errormade by @shridhargupta | data from tldr-pages