github.com/federicobaldo/terraform@v0.6.15-0.20160323222747-b20f680cbf05/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  }