github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/terraform/test-fixtures/transform-resource-count-deps/main.tf (about)

     1  resource "aws_instance" "foo" {
     2      count = 2
     3  
     4      provisioner "local-exec" {
     5          command = "echo ${aws_instance.foo.0.id}"
     6          other = "echo ${aws_instance.foo.id}"
     7      }
     8  }