Trying to define a queue with specific skills in Terraform using the Genesys Cloud provider. The config looks right based on the docs, but the plan fails immediately.
resource "genesyscloud_routing_queue" "support" {
name = "Support EU"
skills {
skill_ids = [genesyscloud_routing_skill.de.id, genesyscloud_routing_skill.en.id]
}
}
Error is:
Error: Invalid block argument
on main.tf line 4, in resource "genesyscloud_routing_queue" "support":
4: skills {
An argument is not expected here.
The docs say skills is a block for the queue resource. I’ve checked the provider version, it’s 1.8.4. Other resources like users work fine. Is the block syntax different for queues? Or is there a missing attribute inside the block? The API accepts a list of skill IDs in the body, so I assumed the Terraform block mirrors that. Nothing in the changelog mentions breaking changes for queues. Just stuck on this validation error.