terraform/command/test-fixtures/show-json
Kristin Laemmert 65fc037ecb
command/show (plan -json): fix panic (#21541)
* command/show -json: fix panic

afterUnknown should return only bools, not values.

* command/jsonplan: let's delete some redundant code!

the plan output was somewhat inconsistent with return values for
"after_unknown". This strives to fix that. If all "after" values are
known, return an empty object instead of iterating over values.

Also fixing some typos and general copypasta.
2019-06-03 07:14:23 -05:00
..
basic-create command/jsonplan: Don't panic with mixtures of known/unknown/empty 2019-05-28 19:33:21 -07:00
basic-delete command/show (plan -json): fix panic (#21541) 2019-06-03 07:14:23 -05:00
basic-update command/show (plan -json): fix panic (#21541) 2019-06-03 07:14:23 -05:00
modules command/jsonplan: Don't panic with mixtures of known/unknown/empty 2019-05-28 19:33:21 -07:00