terraform/internal/command/testdata/dynamic-module-sources/local-source-with-version/main.tf
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

5 lines
115 B
HCL

module "test" {
source = "../boop"
version = "1.0.0" # Makes Terraform assume "source" is a module address
}