can anyone clarify why my for_each fails on cxone_queue? i am loading queue configs from a yaml var file. the map structure seems correct but terraform throws a type mismatch on the wrapup_time_seconds field. is the yaml parser stripping the int type? here is the resource block and the var definition.
variable “queues” { type = map(object({ name = string, wrapup = number })) }
resource “cxone_queue” “q” {
for_each = var.queues
name = each.value.name
wrapup_time_seconds = each.value.wrapup
}
error: Inappropriate value for attribute “wrapup_time_seconds”: number required.