website: destroy command

This commit is contained in:
Mitchell Hashimoto 2014-09-30 22:08:32 -07:00
parent 245c1ce05a
commit d4a2010983
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,21 @@
---
layout: "docs"
page_title: "Command: destroy"
sidebar_current: "docs-commands-destroy"
---
# Command: destroy
The `terraform destroy` command is used to destroy the Terraform-managed
infrastructure.
## Usage
Usage: `terraform destroy [options] [dir]`
Infrastructure managed by Terraform will be destroyed. This will ask for
confirmation before destroying.
This command accepts all the flags that the
[apply command](/docs/commands/apply.html) accepts. If `-input=false` is
set, then the destroy confirmation will not be shown.

View File

@ -55,6 +55,10 @@
<a href="/docs/commands/apply.html">apply</a>
</li>
<li<%= sidebar_current("docs-commands-destroy") %>>
<a href="/docs/commands/destroy.html">destroy</a>
</li>
<li<%= sidebar_current("docs-commands-get") %>>
<a href="/docs/commands/get.html">get</a>
</li>