|
|
|
|
|
by mdaniel
361 days ago
|
|
It was mentioned pretty deep in another thread, but this is just straight up user hostile variable "my_list" { default = ["a", "b"] }
resource whatever something {
for_each = var.my_list
}
The given "for_each" argument value is unsuitable: the "for_each" argument must be a map, or set of strings, and you have provided a value of type tuple.
|
|
Ansible's with_items: and loop: do the exact same thing with YAML.