terraform/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
state.go command/jsonstate: properly marshal deposed resources (#23027) 2019-10-08 13:42:34 -04:00
state_test.go command/jsonstate: properly marshal deposed resources (#23027) 2019-10-08 13:42:34 -04:00