mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 01:41:48 -06:00
10 lines
143 B
HCL
10 lines
143 B
HCL
resource "aws_instance" "parent" {
|
|
count = 2
|
|
}
|
|
|
|
module "child" {
|
|
source = "./child"
|
|
things = "${join(",", aws_instance.parent.*.id)}"
|
|
}
|
|
|