docs: fix the output format of state show command

From v0.12 the output format of state show command seems to be changed
but the old format is used in the document.
This commit is contained in:
Shunsuke Suzuki 2020-07-20 22:15:47 +09:00
parent 79d74c9ba0
commit 1dd4d70bab
1 changed files with 9 additions and 7 deletions

View File

@ -39,13 +39,15 @@ The example below shows a `packet_device` resource named `worker`:
```
$ terraform state show 'packet_device.worker'
id = 6015bg2b-b8c4-4925-aad2-f0671d5d3b13
billing_cycle = hourly
created = 2015-12-17T00:06:56Z
facility = ewr1
hostname = prod-xyz01
# packet_device.worker:
resource "packet_device" "worker" {
billing_cycle = "hourly"
created = "2015-12-17T00:06:56Z"
facility = "ewr1"
hostname = "prod-xyz01"
id = "6015bg2b-b8c4-4925-aad2-f0671d5d3b13"
locked = false
...
}
```
## Example: Show a Module Resource