terraform/plans/objchange
Kristin Laemmert 77af601543 plans/objchange: extended ProposedNewObject to descend into attributes
with NestedType objects.

There are a handful of mostly cosmetic changes in this PR which likely
make the diff awkward to read; I renamed several functions to
(hopefully) clarifiy which funcs worked with Blocks vs other types. I
also extracted some small code snippets into their own functions for
reusability.

The code that descends into attributes with NestedTypes is similar to
the block-handling code, and differs in all the ways blocks and
attributes differ: null is valid for attributes, unlike blocks which can
only be present or empty.
2021-02-10 09:58:56 -05:00
..
action.go backend/local: treat output changes as side-effects to be applied 2020-05-29 07:36:40 -07:00
all_null.go plans/objchange: extended ProposedNewObject to descend into attributes 2021-02-10 09:58:56 -05:00
compatible.go Unmark before ElementIterator in couldHaveUnknownBlockPlaceholder 2021-01-29 17:06:12 -05:00
compatible_test.go Unmark before ElementIterator in couldHaveUnknownBlockPlaceholder 2021-01-29 17:06:12 -05:00
doc.go plans/objchange: logic for merging prior state with config 2018-10-16 19:11:09 -07:00
lcs.go Support lists of deeply marked values 2020-09-25 13:33:44 -04:00
lcs_test.go Support lists of deeply marked values 2020-09-25 13:33:44 -04:00
normalize_obj.go configs/configschema: Introduce the NestingGroup mode for blocks 2019-04-10 14:53:52 -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 plans/objchange: extended ProposedNewObject to descend into attributes 2021-02-10 09:58:56 -05:00
objchange_test.go plans/objchange: extended ProposedNewObject to descend into attributes 2021-02-10 09:58:56 -05:00
plan_valid.go plans/objchange: add handling of NestedTypes inside attributes 2021-02-05 13:41:06 -05:00
plan_valid_test.go plans/objchange: add handling of NestedTypes inside attributes 2021-02-05 13:41:06 -05:00