github.com/medzin/terraform@v0.11.11/config/test-fixtures/provisioners-destroy.tf (about)

     1  resource "aws_instance" "web" {
     2      provisioner "shell" {}
     3  
     4      provisioner "shell" {
     5          path = "foo"
     6          when = "destroy"
     7      }
     8  
     9      provisioner "shell" {
    10          path = "foo"
    11          when = "destroy"
    12          on_failure = "continue"
    13      }
    14  }