Files
opentf/internal/lang/eval/internal
Martin Atkins 9497e6eab3 eval: ApplyOracle.DesiredResourceInstance returns config value
Previously this was calling "Value", which is incorrect because that
function resolves only after we've already planned and applied the resource
instance and so this was causing a promise self-dependency error.

Instead, we need to have the configgraph package expose the configuration
value directly and then use just that as part of this result.

(We do still want to eventually unify the two codepaths that produce these
DesiredResourceInstance objects, but this commit is focused only on fixing
this bug as directly as possible.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2026-02-02 10:27:07 -08:00
..