opentofu/internal/engine/planning
Martin Atkins 6a8e62d4fa engine/planning: Minimal building of execution graph
This is a _very_ early, minimal plumbing of the execution graph builder
into the experimental planning engine.

The goal here is mainly just to prove the idea that the planning engine can
build execution graphs using the execgraph.Builder API we currently have.
This implementation is not complete yet, and also we are expecting to
rework the structure of the planning engine later on anyway so this initial
work focuses on just plumbing it in to what we had as straightforwardly
as possible.

This is enough to get a serialized form of _an_ execution graph included
in the generated plan, though since we don't have the apply engine
implemented we don't actually use it for anything yet.

In subsequent commits we'll continue building out the graph-building logic
and then arrange for the apply phase to unmarshal the saved execution graph
and attempt to execute it, so we can hopefully see a minimal version of all
of this working end-to-end for the first time. But for now, this was mainly
just a proof-of-concept of building an execution graph and capturing it
into its temporary home in the plans.Plan model.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-12-12 07:03:52 -08:00
..
completion_tracker.go engine/planning: Provider instances and stub of data resource planning 2025-10-27 10:15:41 -07:00
deferred.go engine/planning: cty mark for propagating "deferred" status 2025-10-27 10:15:41 -07:00
doc.go engine/planning: Initial stub of a hypothetical "planning engine" 2025-10-27 10:15:41 -07:00
plan.go engine/planning: Shallow adoption of states.ResourceInstanceObjectFull 2025-12-05 12:27:12 -08:00
plan_context.go engine/planning: Minimal building of execution graph 2025-12-12 07:03:52 -08:00
plan_data.go engine/planning: Minimal building of execution graph 2025-12-12 07:03:52 -08:00
plan_ephemeral.go engine/planning: Minimal building of execution graph 2025-12-12 07:03:52 -08:00
plan_eval_glue.go engine/planning: Minimal building of execution graph 2025-12-12 07:03:52 -08:00
plan_managed.go engine/planning: Minimal building of execution graph 2025-12-12 07:03:52 -08:00
providers.go Split out provider schemas vs instances in new engine (#3530) 2025-12-01 13:09:58 -05:00