mirror of https://github.com/hashicorp/terraform
Merge pull request #611 from Banno/fix-multivar-in-modules
looking up count of multivars in correct module configpull/615/head^2
commit
4b8151ec6d
@ -0,0 +1,8 @@
|
||||
resource "aws_instance" "bar" {
|
||||
baz = "baz"
|
||||
count = 2
|
||||
}
|
||||
|
||||
resource "aws_instance" "foo" {
|
||||
foo = "${join(",",aws_instance.bar.*.baz)}"
|
||||
}
|
||||
@ -0,0 +1,4 @@
|
||||
module "child" {
|
||||
source = "./child"
|
||||
}
|
||||
|
||||
Loading…
Reference in new issue