CX as Code provider queue skills validation error

Spinning up a queue with skills via the CX as Code provider. HCL syntax feels weird coming from Node land.

resource "genesyscloud_routing_queue" "test_queue" {
 name = "Test Queue"
 skills {
 skill_ids = ["abc-123"]
 }
}

Docs aren’t showing a concrete example for the skills block structure. Error: expected skills to be a list, got a map. Usually the provider handles these nested objects fine. Not seeing why it’s choking on the skill_ids array. Hitting this validation error on apply. Staring at the schema now.

The skills block expects a list of objects, not a nested map. Try this structure:

resource "genesyscloud_routing_queue" "test_queue" {
 name = "Test Queue"
 skills {
 skill_ids = ["abc-123"]
 }
}

Wait, that looks identical to yours. Double-check you aren’t accidentally using { skill_ids = [...] } inside another block or missing the outer skills { } wrapper entirely. The error usually means the parser sees a map where it expects a list of skill objects.