github.com/fabiomatavelli/terraform@v0.11.12-beta1/config/test-fixtures/validate-basic-provisioners/main.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  }