Terraform CX-as-Code: Queue skills failing to apply with 409 Conflict

We are refactoring our Genesys Cloud queue definitions using the genesyscloud Terraform provider. The goal is to declaratively manage queue skills alongside the queue configuration itself. The state file is clean, but the apply step fails consistently on the genesyscloud_routing_queue resource when attempting to assign skills.

Here is the relevant block:

resource "genesyscloud_routing_queue" "support_queue" {
 name = "Support Queue"
 skills = ["billing", "technical"]
 # ... other config
}

The error returned is 409 Conflict: Unable to update queue because skill names do not match existing skill IDs. It seems the provider is trying to resolve skill names to IDs, but the skills already exist in the instance with different internal IDs than what the provider is guessing or caching. We’ve tried forcing recreation with lifecycle { force_new = true } but that just deletes and recreates the queue, losing history.

Is there a way to explicitly map skill names to their UUIDs in the skills argument, or do we need to use a data source to fetch the IDs first? The documentation is vague on this specific conflict resolution.