terraform/plans/objchange
Martin Atkins c5aa5c68bc plans/objchange: Don't panic when dynamic-typed attrs are present
When dynamically-typed attributes are in the schema, we use different
conventions for representing nested blocks containing them (using tuples
and objects instead of lists and maps).

The normalization code here doesn't deal with those because the legacy
SDK never generates them, but we must still pass them through properly or
else other SDKs will be blocked from using dynamic attributes.

Previously this function would panic in that situation. Now it will just
pass through nested blocks containing dynamic attribute values entirely
as-is, with no normalization whatsoever. That's okay, because the scope
of this function is only to normalize inconsistencies that the legacy
SDK is known to produce, and the legacy SDK never produces dynamic-typed
attributes.
2019-03-11 08:18:26 -07:00
..
all_null.go plans/objchange: Don't presume unknown for values unset in config 2019-02-07 14:01:39 -08:00
compatible.go plans/objchange: Fix panic in AssertObjectCompatible with set blocks 2019-02-14 10:04:51 -08:00
compatible_test.go plans/objchange: Fix panic in AssertObjectCompatible with set blocks 2019-02-14 10:04:51 -08:00
doc.go plans/objchange: logic for merging prior state with config 2018-10-16 19:11:09 -07:00
lcs.go plans/objchange: LongestCommonSubsequence 2018-10-16 19:14:11 -07:00
lcs_test.go plans/objchange: LongestCommonSubsequence 2018-10-16 19:14:11 -07:00
normalize_obj.go plans/objchange: Don't panic when dynamic-typed attrs are present 2019-03-11 08:18:26 -07:00
normalize_obj_test.go plans/objchange: Don't panic when dynamic-typed attrs are present 2019-03-11 08:18:26 -07:00
objchange.go don't add empty blocks in ProposedNewObject 2019-03-02 11:21:59 -05:00
objchange_test.go don't add empty blocks in ProposedNewObject 2019-03-02 11:21:59 -05:00
plan_valid.go plans/objchange: Hide sensitive attribute values in error messages 2019-02-11 17:26:50 -08:00
plan_valid_test.go plans/objchange: Hide sensitive attribute values in error messages 2019-02-11 17:26:50 -08:00