mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-19 17:59:05 -05:00
To support the workflow of saving a plan to disk and applying it on some other machine we need to be able to represent the execution graph as a byte stream and then reload it later to produce an equivalent execution graph. This is an initial implementation of that, based on the way the execgraph package currently represents execution graphs. We may change that representation more in future as we get more experience working in the new architecture, but this is intended as part of our "walking skeleton" phase where we try to get the new architecture working end-to-end with simple configurations as soon as possible to help verify that we're even on the right track with this new approach, and try to find unknown unknowns that we ought to deal with before we get too deep into this. Signed-off-by: Martin Atkins <mart@degeneration.co.uk>