mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-30 10:47:14 -06:00
15 lines
251 B
HCL
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"
|
|
}
|
|
}
|