diff --git a/pages/common/pulumi-destroy.md b/pages/common/pulumi-destroy.md new file mode 100644 index 0000000000..f583109bd0 --- /dev/null +++ b/pages/common/pulumi-destroy.md @@ -0,0 +1,28 @@ +# pulumi destroy + +> Destroy all existing resources in a stack. +> More information: . + +- Destroy all resources in the current stack: + +`pulumi destroy` + +- Destroy all resources in a specific stack: + +`pulumi destroy --stack {{stack}}` + +- Automatically approve and destroy resources after previewing: + +`pulumi destroy --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: + +`pulumi destroy --remove` + +- Continue destroying the resources, even if an error is encountered: + +`pulumi destroy --continue-on-error`