Skip to content

Commit

Permalink
Merge pull request #32193 from hashicorp/backport/patch-1/vaguely-dec…
Browse files Browse the repository at this point in the history
…iding-beagle

Backport of Additional note on usage of single quotes for for_each resources into v1.3
  • Loading branch information
laurapacilio committed Nov 9, 2022
2 parents 59b5ec4 + 2c7f7df commit dd1716c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions website/docs/cli/commands/state/show.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,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):
The following example shows the `"example"` instance of a `packet_device` resource named `worker` configured with the [`for_each`](/language/meta-arguments/for_each) meta-argument. You must place the resource name in single quotes when it contains special characters like double quotes.

Linux, Mac OS, and UNIX:

Expand Down

0 comments on commit dd1716c

Please sign in to comment.