mirror of https://github.com/hashicorp/terraform
parent
3a6940d715
commit
52bc9a1055
@ -0,0 +1,8 @@
|
||||
resource "aws_instance" "foo" {
|
||||
num = "2"
|
||||
compute = "list.#"
|
||||
}
|
||||
|
||||
resource "aws_instance" "bar" {
|
||||
foo = "${aws_instance.foo.list.0.bar}"
|
||||
}
|
||||
Loading…
Reference in new issue