Genesys Terraform: Queue skills mapping failing with 'invalid type for skill'

Hey folks,

Trying to stand up a new support queue via the Genesys Cloud CX as Code provider, but I’m hitting a wall with the skills configuration. The plan runs fine, but the apply step bombs out with a validation error regarding the skill IDs.

I’ve got the queue resource defined like this:

resource "genesyscloud_routing_queue" "support_queue" {
 name = "Premium Support"
 description = "High priority queue"
 
 skills {
 skill_ids = ["12345678-abcd-1234-abcd-123456789abc"]
 }
}

The error I get is:

Error: Invalid attribute for resource genesyscloud_routing_queue. Attribute "skills" not expected here.

I’ve checked the provider docs and it seems like skills should be a block, but maybe I’m missing a nested structure? I know the skill ID is valid since I pulled it from the API. Am I supposed to map this differently? Also, is there a way to reference the skill directly by name instead of hardcoding the ID? That would make the config a bit cleaner.

Any pointers would be appreciated. I’ve been staring at this for an hour and it’s driving me nuts.