From 1dd4d70bab66c08b0d7c2bfbf35f75839b30f764 Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Mon, 20 Jul 2020 22:15:47 +0900 Subject: [PATCH] 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. --- website/docs/commands/state/show.html.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/website/docs/commands/state/show.html.md b/website/docs/commands/state/show.html.md index dcc86974f..6cf8984a8 100644 --- a/website/docs/commands/state/show.html.md +++ b/website/docs/commands/state/show.html.md @@ -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