terraform/internal/cloud
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
..
cloudplan make copyrightfix 2026-02-17 13:56:34 +00:00
e2e make copyrightfix 2026-02-17 13:56:34 +00:00
testdata fix(cloud): cloud backend rendering query warning diags (#38040) 2026-01-13 08:48:15 -08: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_cli.go make copyrightfix 2026-02-17 13:56:34 +00:00
backend_colorize.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_query.go make copyrightfix 2026-02-17 13:56:34 +00:00
backend_query_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
backend_refresh_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
backend_run_warning.go make copyrightfix 2026-02-17 13:56:34 +00:00
backend_run_warning_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
backend_show.go make copyrightfix 2026-02-17 13:56:34 +00:00
backend_show_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
backend_taskStage_policyEvaluation.go make copyrightfix 2026-02-17 13:56:34 +00:00
backend_taskStage_policyEvaluation_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
backend_taskStage_taskResults.go make copyrightfix 2026-02-17 13:56:34 +00:00
backend_taskStage_taskResults_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_taskStages_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
backend_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
cloud_integration.go make copyrightfix 2026-02-17 13:56:34 +00:00
cloud_run.go make copyrightfix 2026-02-17 13:56:34 +00:00
cloud_variables.go move UnparsedVariableValue from backendrun to arguments 2026-02-18 12:47:12 +01:00
cloud_variables_test.go move UnparsedVariableValue from backendrun to arguments 2026-02-18 12:47:12 +01:00
configchangemode_string.go cloud: DetectConfigChangeType helper 2021-11-17 14:20:44 -08:00
errors.go make copyrightfix 2026-02-17 13:56:34 +00:00
migration.go make copyrightfix 2026-02-17 13:56:34 +00:00
migration_test.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
retry_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
state.go make copyrightfix 2026-02-17 13:56:34 +00:00
state_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
test.go move UnparsedVariableValue from backendrun to arguments 2026-02-18 12:47:12 +01:00
test_test.go Rework most of the configuration loading 2026-03-04 11:45:59 +01:00
testing.go move UnparsedVariableValue from backendrun to arguments 2026-02-18 12:47:12 +01:00
tfe_client_mock.go make copyrightfix 2026-02-17 13:56:34 +00:00