terraform/internal/refactoring
Daniel Banck 4ef9684188 Rework most of the configuration loading
We previously used a loader -> BuildConfig flow to load configuration.
This commit changes most (but not all yet) flows to use the new
graph-based approach. Instead of simply recursively loading the modules,
we now need to take a stepped approach:

1. Load the root module
2. Collect the variables and their values
3. Build the configuration with the graph-based approach

Because this approach relies on different parts from different packages,
it can't easliy be done within the `configload` package. So, now we do
most of in the backend or command.
2026-03-04 11:45:59 +01:00
..
testdata check move target module exists 2024-04-12 15:12:48 -04:00
cross_provider_move.go make copyrightfix 2026-02-17 13:56:34 +00:00
mock_provider.go Implement LockState & UnlockState provider methods (#37711) 2025-10-03 10:02:02 +01:00
move_execute.go make copyrightfix 2026-02-17 13:56:34 +00:00
move_execute_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
move_statement.go make copyrightfix 2026-02-17 13:56:34 +00:00
move_statement_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
move_validate.go make copyrightfix 2026-02-17 13:56:34 +00:00
move_validate_test.go Rework most of the configuration loading 2026-03-04 11:45:59 +01:00
remove_statement.go make copyrightfix 2026-02-17 13:56:34 +00:00
remove_statement_test.go make copyrightfix 2026-02-17 13:56:34 +00:00