mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-22 02:20:07 -04:00
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.
10 lines
349 B
HCL
10 lines
349 B
HCL
# This fixture depends on a registry module, which indirectly refers to the
|
|
# following github repository:
|
|
#
|
|
# However, the test that uses it is testing for an error, so in practice the
|
|
# registry does not need to be accessed when this test is successful.
|
|
|
|
module "child" {
|
|
source = "hashicorp/module-installer-acctest/aws"
|
|
version = "0.0.1"
|
|
}
|