github.com/wikibal01/hashicorp-terraform@v0.11.12-beta1/terraform/test-fixtures/apply-provisioner-destroy-module/child/main.tf (about) 1 variable "key" {} 2 3 resource "aws_instance" "foo" { 4 foo = "bar" 5 6 provisioner "shell" { 7 foo = "${var.key}" 8 when = "destroy" 9 } 10 }