mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-05-25 01:00:59 -04:00
During execution graph processing we need to carry addressing information along with objects so that we can model changes of address as data flow rather than as modifications to global mutable state. In previous commits we arranged for other relevant types to track this information, but the representation of a resource instance object was not included because that was a messier change to wire in. This commit deals with that mess: it introduces exec.ResourceInstanceObject to associate a resource instance object with addressing information, and then adopts that as the canonical representation of a "resource instance object result" throughout all of the execution graph operations. Signed-off-by: Martin Atkins <mart@degeneration.co.uk>