mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-04-04 21:00:39 -04:00
This is a building block for use by a planning engine implemented elsewhere in OpenTofu so that it can be notified (by the completion of a call to the function) when all resource instances that use a particular provider instance or ephemeral resource instance have completed their plan-time evaluation work. Existing methods of PlanningOracle already expose sets of addresses to wait for, but this method is separate from those because the planning engine also needs the dependency information as data to know when an ephemeral resource instance might need to be left open beyond the part of the planning process driven by lang/eval in order to plan the delete actions for any "orphan" resource instances that are in the prior state but no longer declared in the configuration. Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
17 KiB
17 KiB