Importing existing Genesys Cloud routing queues into Terraform state fails with ID mismatch

Trying to migrate our existing Genesys Cloud setup to infrastructure-as-code using the Terraform provider. I’ve got a bunch of routing queues already created via the UI, and I need to import them into my local state file so I can manage them with terraform plan and apply.

I’m running this command:

terraform import genesyscloud_routing_queue.main_queue <queue_id>

It seems to accept the import without errors initially, but when I run terraform plan immediately after, it wants to destroy and recreate the resource. The diff shows that the genesyscloud_routing_queue resource is being replaced because the ID doesn’t match what’s expected or something similar.

Here’s the snippet from my .tf file:

resource "genesyscloud_routing_queue" "main_queue" {
 name = "Support Tier 1"
 description = "Main support queue"
 enabled = true
}

I grabbed the queue ID directly from the Genesys Cloud UI URL. Is there a specific format required for the ID when importing? Or do I need to fetch the resource via the /api/v2/routing/queues/{id} endpoint first to get some other identifier? The documentation is pretty thin on import specifics for this provider. Running this on my local machine in Chicago, terraform v1.5.7.