terraform/internal/refactoring
Martin Atkins 4faac6ee43 core: Record move result information in the plan
Here we wire through the "move results" into the graph walk data
structures so that all of the the nodes which produce
plans.ResourceInstanceChange values can capture the "PrevRunAddr" for
each resource instance.

This doesn't actually quite work yet, because the logic in Context.Plan
isn't actually correct and so the updated state from
refactoring.ApplyMoves isn't actually visible as the "previous run state".
For that reason, the context test in this commit is currently skipped,
with the intent of re-enabling it once the updated state is properly
propagating into the plan graph walk and thus we can actually react to
the result of the move while choosing actions for those addresses.
2021-08-30 13:59:14 -07:00
..
testdata/move-validate-zoo refactoring: First round of ValidateMoves rules 2021-07-29 12:29:36 -07:00
move_execute.go core: Record move result information in the plan 2021-08-30 13:59:14 -07:00
move_execute_test.go fix ApplyMove test with nested modules working 2021-08-20 15:17:06 -04:00
move_statement.go MoveStatement.Name() 2021-08-10 10:11:57 -04:00
move_validate.go refactoring: First round of ValidateMoves rules 2021-07-29 12:29:36 -07:00
move_validate_test.go refactoring: First round of ValidateMoves rules 2021-07-29 12:29:36 -07:00