github.com/rstandt/terraform@v0.12.32-0.20230710220336-b1063613405c/terraform/testdata/apply-provisioner-each/main.tf (about) 1 resource "aws_instance" "bar" { 2 for_each = toset(["a"]) 3 provisioner "shell" { 4 when = "destroy" 5 command = "echo ${each.value}" 6 } 7 }