github.com/tomaszheflik/terraform@v0.7.3-0.20160827060421-32f990b41594/terraform/test-fixtures/plan-count-one-index/main.tf (about)

     1  resource "aws_instance" "foo" {
     2      count = 1
     3      foo = "foo"
     4  }
     5  
     6  resource "aws_instance" "bar" {
     7      foo = "${aws_instance.foo.0.foo}"
     8  }