github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/terraform/test-fixtures/apply-provisioner-resource-ref/main.tf (about)

     1  resource "aws_instance" "bar" {
     2      num = "2"
     3  
     4      provisioner "shell" {
     5          foo = "${aws_instance.bar.num}"
     6      }
     7  }