github.com/hashicorp/terraform-plugin-sdk@v1.17.2/terraform/testdata/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