github.com/kanishk98/terraform@v1.3.0-dev.0.20220917174235-661ca8088a6a/internal/terraform/testdata/apply-provisioner-destroy-continue/main.tf (about)

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