mirror of https://github.com/hashicorp/terraform
parent
ecafcfa682
commit
4cb1ea6ae1
@ -0,0 +1,7 @@
|
||||
resource "aws_instance" "foo" {
|
||||
count = 3
|
||||
}
|
||||
|
||||
resource "aws_instance" "bar" {
|
||||
foo = "${aws_instance.foo.0.id}"
|
||||
}
|
||||
Loading…
Reference in new issue