github.com/handlerbot/terraform@v0.10.0-beta1.0.20180726153736-26b68d98f9cb/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  }