github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/terraform/test-fixtures/apply-output-multi-index/main.tf (about)

     1  resource "aws_instance" "foo" {
     2      num = "2"
     3  }
     4  
     5  resource "aws_instance" "bar" {
     6      foo = "bar"
     7      count = 3
     8  }
     9  
    10  output "foo_num" {
    11      value = "${aws_instance.bar.0.foo}"
    12  }