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