mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-30 10:47:14 -06:00
ef086399f9
The Legacy SDK cannot handle missing strings from objects in sets, and will insert an empty string when planning the missing value. This subverts the `couldHaveUnknownBlockPlaceholder` check, and causes errors when `dynamic` is used with NestingSet blocks. We don't have a separate codepath to handle the internals of AssertObjectCompatible differently for the legacy SDK, but we can treat empty strings as null strings within set objects to avoid the failed assertions. |
||
---|---|---|
.. | ||
internal/planproto | ||
objchange | ||
planfile | ||
action_string.go | ||
action.go | ||
changes_src.go | ||
changes_state.go | ||
changes_sync.go | ||
changes.go | ||
doc.go | ||
dynamic_value_test.go | ||
dynamic_value.go | ||
plan_test.go | ||
plan.go |