github.com/LorbusChris/terraform@v0.11.12-beta1/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  }