terraform/internal/backend/remote
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 fix: local variables should not be overridden by remote variables during terraform import (#29972) 2022-03-15 14:42:11 -07:00
backend.go make copyrightfix 2026-02-17 13:56:34 +00:00
backend_apply.go make copyrightfix 2026-02-17 13:56:34 +00:00
backend_apply_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
backend_common.go Rework most of the configuration loading 2026-03-04 11:45:59 +01:00
backend_context.go Rework most of the configuration loading 2026-03-04 11:45:59 +01:00
backend_context_test.go move UnparsedVariableValue from backendrun to arguments 2026-02-18 12:47:12 +01:00
backend_plan.go make copyrightfix 2026-02-17 13:56:34 +00:00
backend_plan_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
backend_state.go make copyrightfix 2026-02-17 13:56:34 +00:00
backend_state_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
backend_taskStages.go make copyrightfix 2026-02-17 13:56:34 +00:00
backend_test.go make test case more robust to developer environments 2026-02-24 18:22:54 +01:00
cli.go make copyrightfix 2026-02-17 13:56:34 +00:00
cloud_integration.go make copyrightfix 2026-02-17 13:56:34 +00:00
colorize.go make copyrightfix 2026-02-17 13:56:34 +00:00
remote_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
retry.go make copyrightfix 2026-02-17 13:56:34 +00:00
testing.go move UnparsedVariableValue from backendrun to arguments 2026-02-18 12:47:12 +01:00