mirror of
https://github.com/opentofu/opentofu.git
synced 2026-02-18 18:17:54 -05:00
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> |
||
|---|---|---|
| .. | ||
| applying | ||
| internal | ||
| planning | ||
| plugins | ||