opentofu/config/test-fixtures/provisioners-destroy.tf
2017-01-19 18:10:21 -08:00

15 lines
251 B
HCL

resource "aws_instance" "web" {
provisioner "shell" {}
provisioner "shell" {
path = "foo"
when = "destroy"
}
provisioner "shell" {
path = "foo"
when = "destroy"
on_failure = "continue"
}
}