github.com/heimweh/terraform@v0.7.4/terraform/test-fixtures/apply-provisioner-compute/main.tf (about)

     1  variable "value" {}
     2  
     3  resource "aws_instance" "foo" {
     4      num = "2"
     5      compute = "dynamical"
     6      compute_value = "${var.value}"
     7  }
     8  
     9  resource "aws_instance" "bar" {
    10      provisioner "shell" {
    11          foo = "${aws_instance.foo.dynamical}"
    12      }
    13  }