mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-20 11:48:24 -06:00
This was accidentally missed on the first pass of module call decoding. As before, this is a map from child provider config address to parent provider config address, allowing the set of providers to be projected in arbitrary ways into a child module.
30 lines
352 B
HCL
30 lines
352 B
HCL
|
|
module "foo" {
|
|
source = "./foo"
|
|
# this block intentionally left (almost) blank
|
|
}
|
|
|
|
module "bar" {
|
|
source = "hashicorp/bar/aws"
|
|
|
|
boom = "🎆"
|
|
yes = true
|
|
}
|
|
|
|
module "baz" {
|
|
source = "git::https://example.com/"
|
|
|
|
a = 1
|
|
|
|
count = 12
|
|
for_each = ["a", "b", "c"]
|
|
|
|
depends_on = [
|
|
module.bar,
|
|
]
|
|
|
|
providers = {
|
|
aws = aws.foo
|
|
}
|
|
}
|