mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Unlike the other nesting modes, we need to use some quite different code for comparing object-backed vs. map-backed blocks, which are both possible interpretations of the NestingMap mode depending on whether the inner block type has any dynamically-typed attributes. Therefore we split that case into two parts depending on what type kind we find, so that each of the parts can then be shaped more like the other type-specific variants of assertNestedBlockCompatible. (This also removes one level of if nesting to placate the nestif linter.) Signed-off-by: Martin Atkins <mart@degeneration.co.uk> |
||
---|---|---|
.. | ||
internal/planproto | ||
objchange | ||
planfile | ||
action_string.go | ||
action.go | ||
changes_src.go | ||
changes_state.go | ||
changes_sync.go | ||
changes_test.go | ||
changes.go | ||
doc.go | ||
dynamic_value.go | ||
mode_string.go | ||
mode.go | ||
plan_test.go | ||
plan.go | ||
quality_string.go | ||
quality.go | ||
resourceinstancechangeactionreason_string.go |