mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Variables weren't being interpolated during the Input phase, causing a syntax error on the interpolation string. Adding `walkInput` to the EvalTree operations prevents skipping the interpolation step.
6 lines
124 B
HCL
6 lines
124 B
HCL
variable "list" { }
|
|
resource "template_file" "temp" {
|
|
count = "${length(split(",", var.list))}"
|
|
template = "foo"
|
|
}
|