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' $ terraform state show 'packet_device.worker'
id = 6015bg2b-b8c4-4925-aad2-f0671d5d3b13 # packet_device.worker:
billing_cycle = hourly resource "packet_device" "worker" {
created = 2015-12-17T00:06:56Z billing_cycle = "hourly"
facility = ewr1 created = "2015-12-17T00:06:56Z"
hostname = prod-xyz01 facility = "ewr1"
locked = false hostname = "prod-xyz01"
... id = "6015bg2b-b8c4-4925-aad2-f0671d5d3b13"
locked = false
}
``` ```
## Example: Show a Module Resource ## Example: Show a Module Resource