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