From a2c91ca5822508bec90f96633f5ab88c7d3e0376 Mon Sep 17 00:00:00 2001 From: HashedDan Date: Mon, 4 Jun 2018 23:13:57 -0600 Subject: [PATCH] Docs: reference resource by index, fixes #18184 --- website/docs/commands/destroy.html.markdown | 2 +- website/docs/commands/plan.html.markdown | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/commands/destroy.html.markdown b/website/docs/commands/destroy.html.markdown index d317dd3e0..d7079725f 100644 --- a/website/docs/commands/destroy.html.markdown +++ b/website/docs/commands/destroy.html.markdown @@ -25,7 +25,7 @@ argument. If `-auto-approve` is set, then the destroy confirmation will not be shown. The `-target` flag, instead of affecting "dependencies" will instead also -destroy any resources that _depend on_ the target(s) specified. +destroy any resources that _depend on_ the target(s) specified. For more information, see [the targeting docs from `terraform plan`](/docs/commands/plan.html#resource-targeting). The behavior of any `terraform destroy` command can be previewed at any time with an equivalent `terraform plan -destroy` command. diff --git a/website/docs/commands/plan.html.markdown b/website/docs/commands/plan.html.markdown index 1cc63eb93..f6a5dae85 100644 --- a/website/docs/commands/plan.html.markdown +++ b/website/docs/commands/plan.html.markdown @@ -94,7 +94,7 @@ to specify the constraint. The resource address is interpreted as follows: * If the given address has a _resource spec_, only the specified resource is targeted. If the named resource uses `count` and no explicit index - is specified in the address, all of the instances sharing the given + is specified in the address (i.e. aws_instance.example[3]), all of the instances sharing the given resource name are targeted. * If the given address _does not_ have a resource spec, and instead just