opentofu/internal/tofu/testdata/transform-diff-creates-destroy-node/child/main.tf
Andrei Ciobanu 3c51831e5c
Enhance removed block with lifecycle and provisioner functionalities (#2628)
Signed-off-by: yottta <andrei.ciobanu@opentofu.org>
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
2025-04-25 06:29:42 -04:00

12 lines
No EOL
185 B
HCL

removed {
from = tfcoremock_simple_resource.example
lifecycle {
destroy = true
}
provisioner "local-exec" {
when = destroy
command = "echo 'execute against ${self.id}'"
}
}