Files
opentf/website/docs/commands/state/addressing.html.md
Martin Atkins 04f3766fd9 website: Indicate v0.12-only content
We have released the v0.12-oriented content to the website early in order
to support the beta process, but in some places we neglected to explicitly
mark features or content as being v0.12-only.

Here we add explicit markers to the main cases we've seen where readers
have reported confusion, along with some other tweaks in similar vein.
2019-03-18 12:42:21 -07:00

789 B

layout, page_title, sidebar_current, description
layout page_title sidebar_current description
commands-state Command: state resource addressing docs-commands-state-address The `terraform state` command is used for advanced state management.

Resource Addressing

The terraform state subcommands use standard address syntax to refer to individual resources, resource instances, and modules. This is the same syntax used for the -target option to the apply and plan commands.

Most state commands allow referring to individual resource instances, whole resources (which may have multiple instances if count or for_each is used), or even whole modules.

For more information on the syntax, see Resource Addressing.