mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-30 10:47:14 -06:00
5f1e6ad020
Fixes #10680 This moves TargetsTransformer to run after the transforms that add module variables is run. This makes targeting work across modules (test added). This is a bug that only exists in the new graph, but was caught by a shadow error in #10680. Tests were added to protect against regressions.
9 lines
102 B
HCL
9 lines
102 B
HCL
module "A" {
|
|
source = "./A"
|
|
}
|
|
|
|
module "B" {
|
|
source = "./B"
|
|
input = "${module.A.value}"
|
|
}
|