opentofu/plans
Martin Atkins 0317da9911 plans/objchange: logic for merging prior state with config
This produces a "proposed new state", which already has prior computed
values propagated into it (since that behavior is standard for all
resource types) but could be customized further by the provider to make
the "_planned_ new state".

In the process of implementing this it became clear that our configschema
DecoderSpec behavior is incorrect, since it's producing list values for
NestingList and map values for NestingMap. While that seems like it should
be right, we should actually be using tuple and object types respectively
to allow each block to have a different runtime type in situations where
an attribute is given the type cty.DynamicPseudoType. That's not fixed
here, and so without a further fix list and map blocks will panic here.
The DecoderSpec implementation will be fixed in a subsequent commit.
2018-10-16 19:11:09 -07:00
..
internal/planproto plans: Record private data bytes as part of resource change 2018-10-16 19:11:09 -07:00
objchange plans/objchange: logic for merging prior state with config 2018-10-16 19:11:09 -07:00
planfile plans: Record private data bytes as part of resource change 2018-10-16 19:11:09 -07:00
action_string.go plans: New package for in-memory plan models 2018-10-16 18:50:29 -07:00
action.go plans: New package for in-memory plan models 2018-10-16 18:50:29 -07:00
changes_src.go plans: Record private data bytes as part of resource change 2018-10-16 19:11:09 -07:00
changes_state.go plans: New package for in-memory plan models 2018-10-16 18:50:29 -07:00
changes_sync.go terraform: Ugly huge change to weave in new State and Plan types 2018-10-16 19:11:09 -07:00
changes.go plans: Record private data bytes as part of resource change 2018-10-16 19:11:09 -07:00
doc.go plans: New package for in-memory plan models 2018-10-16 18:50:29 -07:00
dynamic_value_test.go plans: New package for in-memory plan models 2018-10-16 18:50:29 -07:00
dynamic_value.go terraform: Ugly huge change to weave in new State and Plan types 2018-10-16 19:11:09 -07:00
plan_test.go terraform: Ugly huge change to weave in new State and Plan types 2018-10-16 19:11:09 -07:00
plan.go terraform: Ugly huge change to weave in new State and Plan types 2018-10-16 19:11:09 -07:00