mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-26 17:01:04 -06:00
102c575f04
The config diagnostics weren't checked before sending to the provisioner, and may have contained invalid values.
8 lines
154 B
HCL
8 lines
154 B
HCL
resource "aws_instance" "bar" {
|
|
for_each = toset(["a"])
|
|
provisioner "shell" {
|
|
when = "destroy"
|
|
command = "echo ${each.value}"
|
|
}
|
|
}
|