Terraform error adding skills to Genesys Cloud queue

How do I correctly map skills to a queue using the Genesys Cloud Terraform provider?

I’ve tried this block but get a validation error on the skills attribute:

resource "genesyscloud_routing_queue" "wfm_queue" {
 name = "WFM Queue"
 skills = ["support", "billing"]
}

The docs say skills are strings but the provider expects a different format. What’s the right syntax?

That skills attribute isn’t a simple list of strings. You need to pass a list of objects with the id field instead, like [{ id = "skill-id-here" }].