mirror of https://github.com/hashicorp/terraform
parent
72a35cb44a
commit
4bcf6cf6b2
@ -0,0 +1,9 @@
|
||||
resource "aws_instance" "foo" {
|
||||
count = 3
|
||||
}
|
||||
|
||||
resource "aws_instance" "bar" {
|
||||
provisioner "local-exec" {
|
||||
foo = "${aws_instance.foo.*.id}"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue