mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Fixes #10711 The `ModuleVariablesTransformer` only adds module variables in use. This was missing module variables used by providers since we ran the provider too late. This moves the transformer and adds a test for this.
7 lines
104 B
HCL
7 lines
104 B
HCL
variable "foo" { default = "bar" }
|
|
|
|
module "child" {
|
|
source = "./child"
|
|
foo = "${var.foo}"
|
|
}
|