github.com/hashicorp/terraform-plugin-sdk@v1.17.2/terraform/testdata/apply-provisioner-resource-ref/main.tf (about)

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