terraform/internal/providercache
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 providercache: Ignore lock-mismatching global cache entries 2022-11-04 16:18:15 -07:00
cached_provider.go make copyrightfix 2026-02-17 13:56:34 +00:00
cached_provider_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
dir.go make copyrightfix 2026-02-17 13:56:34 +00:00
dir_modify.go make copyrightfix 2026-02-17 13:56:34 +00:00
dir_modify_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
dir_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
doc.go make copyrightfix 2026-02-17 13:56:34 +00:00
installer.go Rework most of the configuration loading 2026-03-04 11:45:59 +01:00
installer_events.go make copyrightfix 2026-02-17 13:56:34 +00:00
installer_events_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
installer_test.go test: Enable mocking http provider sources in tests (#38206) 2026-02-26 10:24:13 +00:00
installer_test_helper.go make copyrightfix 2026-02-17 13:56:34 +00:00
package_install.go test: Enable mocking http provider sources in tests (#38206) 2026-02-26 10:24:13 +00:00