mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Explain the the destroy mode is the same as running terraform destroy
This commit is contained in:
parent
3c2685222e
commit
e5658c2478
@ -87,9 +87,7 @@ changes the remote system to match the changes you make to
|
|||||||
your configuration. Terraform has two alternative planning modes, each of which creates a plan with a different intended outcome. These options are available for both `terraform plan` and [`terraform apply`](/cli/commands/apply).
|
your configuration. Terraform has two alternative planning modes, each of which creates a plan with a different intended outcome. These options are available for both `terraform plan` and [`terraform apply`](/cli/commands/apply).
|
||||||
|
|
||||||
* **Destroy mode:** creates a plan whose goal is to destroy all remote objects
|
* **Destroy mode:** creates a plan whose goal is to destroy all remote objects
|
||||||
that currently exist, leaving an empty Terraform state. This can be useful
|
that currently exist, leaving an empty Terraform state. It is the same as running [`terraform destroy`](/cli/commands/destroy). Destroy mode can be useful for situations like transient development environments, where the managed objects cease to be useful once the development task is complete.
|
||||||
for situations like transient development environments, where the managed
|
|
||||||
objects cease to be useful once the development task is complete.
|
|
||||||
|
|
||||||
Activate destroy mode using the `-destroy` command line option.
|
Activate destroy mode using the `-destroy` command line option.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user