Update website/docs/cli/commands/destroy.mdx

Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
pull/32615/head
Craig Wright 2 years ago committed by GitHub
parent 5ebcd60759
commit 1e5b97e511
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -45,13 +45,7 @@ you the proposed destroy changes without executing them.
Terraform v0.15.2 and later. For earlier versions, you _must_ use
`terraform destroy` to get the effect of `terraform apply -destroy`.
## Options
### Target a specific resource
In exceptional circumstances, it may be useful to use the `-target` option.
This will destroy only a particular resource (and its dependencies):
You can use the `-target` option to destroy a particular resource and its dependencies:
```
terraform destroy -target RESOURCE_TYPE.NAME
```
For more about `-target`, see [`plan`](/cli/commands/plan).

Loading…
Cancel
Save