mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-16 19:52:49 -06:00
9 lines
130 B
Terraform
9 lines
130 B
Terraform
|
module "child" {
|
||
|
source = "./child"
|
||
|
leader = true
|
||
|
}
|
||
|
|
||
|
resource "aws_instance" "bar" {
|
||
|
foo = "${module.child.leader}"
|
||
|
}
|