From 227c8db4e131125b746e08befac8bc6fd487722b Mon Sep 17 00:00:00 2001 From: Ira <1463626+irab@users.noreply.github.com> Date: Sun, 19 Jun 2022 21:15:23 +1200 Subject: [PATCH] Additional note on usage of single quotes for for_each resources --- website/docs/cli/commands/state/show.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/cli/commands/state/show.mdx b/website/docs/cli/commands/state/show.mdx index 46032ac31f..67b945076e 100644 --- a/website/docs/cli/commands/state/show.mdx +++ b/website/docs/cli/commands/state/show.mdx @@ -69,7 +69,7 @@ $ terraform state show 'packet_device.worker[0]' ## Example: Show a Resource configured with for_each The example below shows the `"example"` instance of a `packet_device` resource named `worker` configured with -[`for_each`](/language/meta-arguments/for_each): +[`for_each`](/language/meta-arguments/for_each). Please note that single quotes ``` surrounding a resource name are required when referencing a resource that contains special characters, such as double quotes, in its identifier: Linux, Mac OS, and UNIX: