github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/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  }