opentofu/internal/plans
James Bardin 9459f0b214 refactor ProposedNew
Unify the ProposedNew paths for Blocks and Objects. Break out the
individual case blocks into functions, then use a common interface to
dispatch the object creation to the correct function based on schema
type. This cuts the code in half, and prevents the block and object
behavior from diverging.
2023-01-20 15:59:32 -05:00
..
internal/planproto core: Mark errored plans as errored 2022-12-12 17:17:42 -05:00
objchange refactor ProposedNew 2023-01-20 15:59:32 -05:00
planfile core: Mark errored plans as errored 2022-12-12 17:17:42 -05:00
action_string.go Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00
action.go Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00
changes_src.go command: Render "moved" annotations in plan UI 2021-09-03 17:44:07 -04:00
changes_state.go Move states/ to internal/states/ 2021-05-17 14:09:07 -07:00
changes_sync.go remove IsFullDestroy workaround 2022-10-19 14:47:06 -04:00
changes_test.go command: Render "moved" annotations in plan UI 2021-09-03 17:44:07 -04:00
changes.go plans: indicate when resource deleted due to move (#31695) 2022-08-30 18:01:29 +01:00
doc.go Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00
dynamic_value.go Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00
mode_string.go Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00
mode.go Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00
plan_test.go Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00
plan.go core: Mark errored plans as errored 2022-12-12 17:17:42 -05:00
resourceinstancechangeactionreason_string.go plans: indicate when resource deleted due to move (#31695) 2022-08-30 18:01:29 +01:00