terraform/command/test-fixtures/show-json/basic-update
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
..
main.tf command/show: tests for -json output (#19980) 2019-01-11 15:13:55 -08:00
output.json command/show (plan -json): fix panic (#21541) 2019-06-03 07:14:23 -05:00
terraform.tfstate command: Update "terraform show -json" tests for changed provider contract 2019-02-08 11:58:21 -08:00