opentofu/internal/plans
kmoe 28643516b2
Plannable import 3: Make import plannable (#33085)
During a plan, Terraform now checks for the presence of import blocks.

For each resource in config, if an import block is present with a matching address, planning that node will now trigger an ImportResourceState and ReadResource. The resulting state is treated as the node's "refresh state", and planning proceeds as normal from there.

The walkImport operation is now only used for the legacy "terraform import" CLI command. This is the only case under which the plan should produce graphNodeImportStates.
2023-04-28 23:45:43 +01:00
..
internal/planproto add types for plannable import (#33080) 2023-04-25 15:19:48 +01:00
objchange remove unused actionforchange (#32759) 2023-03-01 14:15:26 +00:00
planfile Add native plantimestamp function to Terraform (#32980) 2023-04-21 09:47:28 +02: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 Plannable import 3: Make import plannable (#33085) 2023-04-28 23:45:43 +01: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 Plannable import 3: Make import plannable (#33085) 2023-04-28 23:45:43 +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 Add native plantimestamp function to Terraform (#32980) 2023-04-21 09:47:28 +02:00
resourceinstancechangeactionreason_string.go Checks: Introduce check blocks into the terraform node and transform graph (#32735) 2023-03-23 16:07:31 +01:00