mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 00:42:08 +02:00
pulumi-destroy: add page (#13701)
This commit is contained in:
parent
51be1c9f9d
commit
b655b22de3
1 changed files with 28 additions and 0 deletions
28
pages/common/pulumi-destroy.md
Normal file
28
pages/common/pulumi-destroy.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# pulumi destroy
|
||||
|
||||
> Destroy all existing resources in a stack.
|
||||
> More information: <https://www.pulumi.com/docs/cli/commands/pulumi_destroy/>.
|
||||
|
||||
- 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`
|
Loading…
Add table
Reference in a new issue