Terraform CXone provider: queue skills mapping fails with 400

Trying to define a queue with specific skills via the CX as Code Terraform provider. The resource applies fine without the skills block, but adding it throws a 400 Bad Request.

Here’s the snippet:

resource "genapi_routing_queue" "main" {
 name = "Support-US"
 description = "General support"
 
 skills {
 skill_id = genapi_routing_skill.tech.id
 priority = 1
 }
}

The error payload from the plan apply shows:

{
 "errors": [
 {
 "message": "Invalid request body: skills is not a valid property for RoutingQueue definition in this context."
 }
 ]
}

Checking the OpenAPI spec for /api/v2/routing/queues, skills aren’t directly on the queue object. They belong to the routing configuration or are assigned via the routing_config block in some versions. The provider docs are sparse here.

Do I need to use a separate data source to link skills, or is there a specific routing_config attribute I’m missing? The genapi_routing_queue resource doesn’t seem to have a routing_config block in the latest provider version. Stuck on this.