github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/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  }