terraform/command/jsonplan
Kristin Laemmert 818b4ec068
command/show: add "module_version" to "module_calls" in config (#20367)
* command/show: add "module_version" to "module_calls" in config portion
of `terraform show`.

Also extended the `terraform show -json` test to run `init` so we could
add examples with modules. This does _not_ test the "module_version"
yet, but it _did_ help expose a bug in jsonplan where modules were
duplicated. This is also fixed in this PR.

* command/jsonconfig: rename version to version_constraint and
resolved_source to source.
2019-02-19 08:12:33 -08:00
..
doc.go json output of terraform plan (#19687) 2018-12-19 11:08:25 -08:00
module.go command/jsonplan: sort resources by address (#20113) 2019-01-25 09:17:40 -08:00
plan.go command/show: json output enhancements (#20291) 2019-02-11 13:17:03 -08:00
plan_test.go mildwonkey/b-show-state (#20032) 2019-01-23 11:46:53 -08:00
resource.go json output of terraform plan (#19687) 2018-12-19 11:08:25 -08:00
values.go command/show: add "module_version" to "module_calls" in config (#20367) 2019-02-19 08:12:33 -08:00
values_test.go mildwonkey/b-show-state (#20032) 2019-01-23 11:46:53 -08:00