opentofu/internal/engine
Martin Atkins fdd992cfa7 planning: Build manage resource instance execgraph from planned change
The temporary placeholder code was relying only on the
DesiredResourceInstance object, which was good enough for proving that this
could work at all and had the advantage of being a new-style model with
new-style representations of the provider instance address and the other
resource instances that the desired object depends on.

But that isn't enough information to plan anything other than "create"
changes, so now we'll switch to using plans.ResourceInstanceChange as the
main input to the execgraph building logic, even though for now that means
we need to carry a few other values alongside it to compensate for the
shortcomings of that old model designed for the old language runtime.

So far this doesn't actually change what we do in response to the change
so it still only supports "create" changes. In future commits we'll make
the execGraphBuilder method construct different shapes of graph depending
on which change action was planned.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2026-02-09 07:35:50 -08:00
..
applying engine/ephemeral: Wire together basic ephemeral functionality (#3710) 2026-02-04 16:44:20 -05:00
internal engine/ephemeral: Wire together basic ephemeral functionality (#3710) 2026-02-04 16:44:20 -05:00
planning planning: Build manage resource instance execgraph from planned change 2026-02-09 07:35:50 -08:00
plugins engine/ephemeral: Wire together basic ephemeral functionality (#3710) 2026-02-04 16:44:20 -05:00