Trying to create multiple queues using for_each driven by a YAML file. The yamldecode() function returns a map, but the genesys_cloud_routing_queue resource keeps complaining about the type mismatch for name. Here’s the snippet:
resource "genesys_cloud_routing_queue" "queues" {
for_each = var.queue_data
name = each.value.name
}
The YAML is simple key-value pairs. Is there a specific structure yamldecode needs to output for for_each to work with this provider?