github.com/paybyphone/terraform@v0.9.5-0.20170613192930-9706042ddd51/terraform/test-fixtures/apply-provisioner-destroy-fail/main.tf (about)

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