terraform/command/format
Martin Atkins 69772b11b1 command/format: test for diff rendering with dynamic-typed subattrs
We use cty a little differently when a nested list block contains a
dynamically-typed attribute: it appears as a tuple value instead of a
list value so that we can retain the individual types of each element.

Here we introduce a test for that case, but doing so required also making
the runTestCases function handle types in a stricter way so that it will
produce planned values that match how Terraform Core would do it,
including the necessary late-bound type information for the
dynamically-typed attribute.
2019-03-11 08:18:26 -07:00
..
diagnostic.go command/format: Fix rendering of attribute-agnostic diagnostics 2018-11-26 23:38:37 +00:00
diff.go Revert "remove NormalizeObjectFromLegacySDK from diff" 2019-03-08 17:32:41 -05:00
diff_test.go command/format: test for diff rendering with dynamic-typed subattrs 2019-03-11 08:18:26 -07:00
format.go command/format: a package for formatting plans/state for output 2017-01-26 14:33:49 -08:00
object_id.go command: Reinstate object ids in the UIHook progress logs 2018-10-16 19:14:11 -07:00
object_id_test.go Updates after running `make fmt` with Go v1.11.1 2018-10-17 14:11:08 -07:00
plan.go backend/local: Render CBD replacement (+/-) correctly (#19642) 2018-12-14 13:45:47 +00:00
state.go command/format: fix an issue where data resources were not displaying (#20386) 2019-02-19 14:18:47 -08:00
state_test.go command/format: fix an issue where data resources were not displaying (#20386) 2019-02-19 14:18:47 -08:00