Genesys Cloud Terraform: Adding skills to a queue

I’m trying to define a queue with specific skills using the CX as Code provider. I have the basic resource block set up, but I’m stuck on the syntax for attaching skills to the queue. I’ve tried nesting a skills block inside routing_rules, but Terraform throws a validation error saying the argument is not expected. I’ve checked the docs but the examples are sparse. Here is what I have so far:

resource "genesyscloud_routing_queue" "test_queue" {
 name = "Test Queue"
 # how do I add skills here?
}

Skills don’t live in routing rules. You need to update the queue’s skills array directly via the API or use the genesyscloud_routing_queue resource’s specific skill attribute, which is notoriously tricky in Terraform. Honestly, just push the config via the API and let Terraform import it.