github.com/rstandt/terraform@v0.12.32-0.20230710220336-b1063613405c/terraform/testdata/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 command = "${var.key}" 8 when = "destroy" 9 } 10 }