terraform/plans/objchange
Kristin Laemmert da6ac9d6cd plans/objchange: add handling of NestedTypes inside attributes
- rename ProposedNewObject to ProposedNew:
Now that there is an actual configschema.Object it will be clearer if
the function names match the type the act upon.

- extract attribute-handling logic from assertPlanValid and extend
A new function, assertPlannedAttrsValid, takes the existing
functionality and extends it to validate attributes with NestedTypes.
The NestedType-specific handling is in assertPlannedObjectValid, which
is very similar to the block-handling logic, except that nulls are a
valid plan (an attribute can be null, but not a block).
2021-02-05 13:41:06 -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 configs/configschema: Introduce the NestingGroup mode for blocks 2019-04-10 14:53:52 -07: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: add handling of NestedTypes inside attributes 2021-02-05 13:41:06 -05:00
objchange_test.go plans/objchange: add handling of NestedTypes inside attributes 2021-02-05 13:41:06 -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