mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-26 17:01:04 -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. |
||
---|---|---|
.. | ||
action.go | ||
all_null.go | ||
compatible_test.go | ||
compatible.go | ||
doc.go | ||
lcs_test.go | ||
lcs.go | ||
normalize_obj_test.go | ||
normalize_obj.go | ||
objchange_test.go | ||
objchange.go | ||
plan_valid_test.go | ||
plan_valid.go |