github.com/kanishk98/terraform@v1.3.0-dev.0.20220917174235-661ca8088a6a/internal/terraform/testdata/apply-provisioner-compute/main.tf (about) 1 variable "value" {} 2 3 resource "aws_instance" "foo" { 4 num = "2" 5 compute = "value" 6 compute_value = "${var.value}" 7 } 8 9 resource "aws_instance" "bar" { 10 provisioner "shell" { 11 command = "${aws_instance.foo.value}" 12 } 13 }