Terraform: Defining skills on a Genesys Cloud queue

We’re trying to migrate our queue definitions into Terraform using the genesyscloud provider. The docs for genesyscloud_routing_queue seem to imply I can just list skills, but I’m hitting validation errors when I try to attach them.

Here’s the HCL I’ve got so far:

resource "genesyscloud_routing_queue" "support_queue" {
 name = "Support Queue"
 description = "Main support line"
 
 skill_requirements {
 skill_id = "some-skill-id-from-api"
 priority = 1
 max_capacity = 10
 }
}

When I run terraform plan, it chokes on skill_requirements. The error says the block is not expected here. I know I can call GET /api/v2/routing/queues/{id} to see the structure, but the Terraform schema doesn’t match the raw JSON payload from the API.

Is there a separate resource for attaching skills to queues? Or am I missing a nested block syntax? We’re using genesyscloud/genesys-cloud-provider@1.5.0.

Also, how do you handle the skill ID lookup? Do I have to use a genesyscloud_routing_skill data source first? Seems like a lot of boilerplate just to link a skill to a queue.