opentofu/command/jsonstate
Kristin Laemmert a9da6f0e5b
command/jsonstate: properly marshal deposed resources (#23027)
* command/jsonstate: properly marshal deposed resources

This PR addresses 2 issues: `show -json` would crash if there was not a
`Current` `states.ResourceInstance` for a given resource, and `deposed`
resource instances were not shown at all.

Fixes #22642
2019-10-08 13:42:34 -04:00
..
doc.go command/jsonstate: marshal state into a machine readable blob o'json (#19911) 2019-01-03 12:08:03 -08:00
state_test.go command/jsonstate: properly marshal deposed resources (#23027) 2019-10-08 13:42:34 -04:00
state.go command/jsonstate: properly marshal deposed resources (#23027) 2019-10-08 13:42:34 -04:00