add template for directives
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
resource "aws_instance" "foo" {
|
||||
name = "foo ${count.index}"
|
||||
count = 3
|
||||
}
|
||||
|
||||
resource "aws_instance" "bar" {
|
||||
foo_name = "${aws_instance.foo.*.name[count.index]}"
|
||||
count = 3
|
||||
}
|
||||
Reference in New Issue
Block a user