Update website/docs/commands/untaint.html.markdown
Co-Authored-By: The Terraform Team <52939924+teamterraform@users.noreply.github.com>
This commit is contained in:
parent
1bd0f3512c
commit
5d4826894c
|
@ -17,7 +17,7 @@ This command _will not_ modify infrastructure, but does modify the state file
|
||||||
in order to unmark a resource as tainted.
|
in order to unmark a resource as tainted.
|
||||||
|
|
||||||
~> **NOTE on Tainted Indexes:** In certain edge cases, more than one tainted
|
~> **NOTE on Tainted Indexes:** In certain edge cases, more than one tainted
|
||||||
instance can be present for a single resource. When this happens, you need to specify the index after the resources, e.g. `my-resource-example.2`. You can use the `terraform show` command to inspect the state and
|
instance can be present for a single resource. When this happens, you need to specify the index after the resources, e.g. `my-resource-example[2]`. You can use the `terraform show` command to inspect the state and
|
||||||
determine which index holds the instance you'd like to restore. In the vast
|
determine which index holds the instance you'd like to restore. In the vast
|
||||||
majority of cases, there will only be one tainted instance, and the `-index`
|
majority of cases, there will only be one tainted instance, and the `-index`
|
||||||
flag can be omitted.
|
flag can be omitted.
|
||||||
|
|
Loading…
Reference in New Issue