Merge pull request #25615 from suzuki-shunsuke/docs/fix-output-format-of-state-show

docs: fix the output format of state show command
This commit is contained in:
Alisdair McDiarmid 2020-07-20 11:17:16 -04:00 committed by GitHub
commit 0a837003e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
locked = false
...
# 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