github.com/paybyphone/terraform@v0.9.5-0.20170613192930-9706042ddd51/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  }