File tree Expand file tree Collapse file tree
website/source/docs/commands/state Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,19 +54,19 @@ func (c *StateListCommand) Run(args []string) int {
5454
5555func (c * StateListCommand ) Help () string {
5656 helpText := `
57- Usage: terraform state list [options] [pattern ...]
57+ Usage: terraform state list [options] [address ...]
5858
5959 List resources in the Terraform state.
6060
61- This command lists resources in the Terraform state. The pattern argument
62- can be used to filter the resources by resource or module. If no pattern
61+ This command lists resources in the Terraform state. The address argument
62+ can be used to filter the resources by resource or module. If no address
6363 is given, all resources are listed.
6464
65- The pattern argument is meant to provide very simple filtering. For
65+ The address argument is meant to provide very simple filtering. For
6666 advanced filtering, please use tools such as "grep". The output of this
6767 command is designed to be friendly for this usage.
6868
69- The pattern argument accepts any resource targeting syntax. Please
69+ The address argument accepts any resource targeting syntax. Please
7070 refer to the documentation on resource targeting syntax for more
7171 information.
7272
Original file line number Diff line number Diff line change @@ -77,12 +77,12 @@ func (c *StateShowCommand) Run(args []string) int {
7777
7878func (c * StateShowCommand ) Help () string {
7979 helpText := `
80- Usage: terraform state show [options] PATTERN
80+ Usage: terraform state show [options] ADDRESS
8181
8282 Shows the attributes of a resource in the Terraform state.
8383
8484 This command shows the attributes of a single resource in the Terraform
85- state. The pattern argument must be used to specify a single resource.
85+ state. The address argument must be used to specify a single resource.
8686 You can view the list of available resources with "terraform state list".
8787
8888Options:
Original file line number Diff line number Diff line change @@ -13,18 +13,18 @@ The `terraform state list` command is used to list resources within a
1313
1414## Usage
1515
16- Usage: ` terraform state list [options] [pattern ...] `
16+ Usage: ` terraform state list [options] [address ...] `
1717
1818The command will list all resources in the state file matching the given
19- patterns (if any). If no patterns are given, all resources are listed.
19+ addresses (if any). If no addresses are given, all resources are listed.
2020
2121The resources listed are sorted according to module depth order followed
2222by alphabetical. This means that resources that are in your immediate
2323configuration are listed first, and resources that are more deeply nested
2424within modules are listed last.
2525
2626For complex infrastructures, the state can contain thousands of resources.
27- To filter these, provide one or more patterns to the command. Patterns are
27+ To filter these, provide one or more addresses to the command. Addresses are
2828in [ resource addressing format] ( /docs/commands/state/addressing.html ) .
2929
3030The command-line flags are all optional. The list of available flags are:
Original file line number Diff line number Diff line change @@ -14,17 +14,17 @@ single resource in the
1414
1515## Usage
1616
17- Usage: ` terraform state show [options] PATTERN `
17+ Usage: ` terraform state show [options] ADDRESS `
1818
1919The command will show the attributes of a single resource in the
20- state file that matches the given pattern .
20+ state file that matches the given address .
2121
2222The attributes are listed in alphabetical order (with the except of "id"
2323which is always at the top). They are outputted in a way that is easy
2424to parse on the command-line.
2525
26- This command requires a pattern that points to a single resource in the
27- state. Patterns are
26+ This command requires a address that points to a single resource in the
27+ state. Addresses are
2828in [ resource addressing format] ( /docs/commands/state/addressing.html ) .
2929
3030The command-line flags are all optional. The list of available flags are:
You can’t perform that action at this time.
0 commit comments