mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-15 01:53:51 -06:00
10 lines
213 B
Terraform
10 lines
213 B
Terraform
|
resource "null_resource" "foo" {
|
||
|
count = 2
|
||
|
|
||
|
provisioner "local-exec" { command = "sleep ${count.index*3}" }
|
||
|
|
||
|
//provisioner "local-exec" { command = "exit 1" }
|
||
|
|
||
|
lifecycle { create_before_destroy = true }
|
||
|
}
|