github.com/alkar/terraform@v0.9.6-0.20170517124458-a4cddf6ebf59/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 }