github.com/tompao/terraform@v0.6.10-0.20180215233341-e41b29d0961b/terraform/test-fixtures/apply-provisioner-destroy-outputs/mod2/main.tf (about)

     1  variable "value" {
     2  }
     3  
     4  resource "aws_instance" "bar" {
     5      provisioner "shell" {
     6          command  = "${var.value}"
     7          when = "destroy"
     8      }
     9  }
    10