opentofu/internal/plans
Martin Atkins 3cbedd3817 plans/objchange: Split assertNestedBlockCompatibleMap into two parts
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>
2025-01-10 08:29:58 -08:00
..
internal/planproto Add exclude flag support (#1900) 2024-11-05 10:16:00 -05:00
objchange plans/objchange: Split assertNestedBlockCompatibleMap into two parts 2025-01-10 08:29:58 -08:00
planfile Force state change if encryption used fallback (#2232) 2024-12-03 17:44:30 -05:00
action_string.go Add support for removed block (#1158) 2024-02-21 10:31:44 +02:00
action.go Add support for removed block (#1158) 2024-02-21 10:31:44 +02:00
changes_src.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
changes_state.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
changes_sync.go Use Equal instead of address strings (#2172) 2024-11-18 09:53:19 +01:00
changes_test.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
changes.go Another batch of minor typos (#1953) 2024-09-09 07:51:39 -04:00
doc.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
dynamic_value.go Another batch of minor typos (#1953) 2024-09-09 07:51:39 -04:00
mode_string.go Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00
mode.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
plan_test.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
plan.go Add exclude flag support (#1900) 2024-11-05 10:16:00 -05:00
quality_string.go New plans.Quality type for display-relevant facts about a plan 2023-07-24 14:12:44 -04:00
quality.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
resourceinstancechangeactionreason_string.go Checks: Introduce check blocks into the terraform node and transform graph (#32735) 2023-03-23 16:07:31 +01:00