2014-12-02 13:53:09 -06:00
|
|
|
resource "aws_instance" "parent" {
|
|
|
|
count = 2
|
|
|
|
}
|
|
|
|
|
2014-11-28 13:16:33 -06:00
|
|
|
module "child" {
|
2014-12-02 13:53:09 -06:00
|
|
|
source = "./child"
|
2014-12-09 02:27:55 -06:00
|
|
|
things = "${join(",", aws_instance.parent.*.id)}"
|
2014-11-28 13:16:33 -06:00
|
|
|
}
|
|
|
|
|