terraform/website/docs/commands/state/addressing.html.md

828 B

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 make heavy use of resource addressing for targeting and filtering specific resources and modules within the state.

Resource addressing is a common feature of Terraform that is used in multiple locations. For example, resource addressing syntax is also used for the -target flag for apply and plan commands.

Because resource addressing is unified across Terraform, it is documented in a single place rather than duplicating it in multiple locations. You can find the resource addressing documentation here.