From d4a2010983c2b6a34567304c2d5a8c3aef961281 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 30 Sep 2014 22:08:32 -0700 Subject: [PATCH] website: destroy command --- .../docs/commands/destroy.html.markdown | 21 +++++++++++++++++++ website/source/layouts/docs.erb | 4 ++++ 2 files changed, 25 insertions(+) create mode 100644 website/source/docs/commands/destroy.html.markdown diff --git a/website/source/docs/commands/destroy.html.markdown b/website/source/docs/commands/destroy.html.markdown new file mode 100644 index 000000000..434163b70 --- /dev/null +++ b/website/source/docs/commands/destroy.html.markdown @@ -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. diff --git a/website/source/layouts/docs.erb b/website/source/layouts/docs.erb index 9536b2940..7682928fb 100644 --- a/website/source/layouts/docs.erb +++ b/website/source/layouts/docs.erb @@ -55,6 +55,10 @@ apply + > + destroy + + > get