Hey everyone,
I’m running into a wall trying to bring our existing Genesys Cloud routing queues into our Terraform state. We’re using the Genesys Cloud Terraform provider (version 1.45.0) and I need to start managing these queues as code to keep things in sync for our WFM adherence tracking.
I have the configuration written out in queues.tf. It looks pretty standard:
resource "genesyscloud_routing_queue" "priority_support" {
name = "Priority Support"
description = "High priority queue for WFM tracking"
enable_wait_callback = false
}
When I run terraform import genesyscloud_routing_queue.priority_support <queue_id>, I get this error:
Error: No matching resource found
with genesyscloud_routing_queue.priority_support,
on main.tf line 1, in resource "genesyscloud_routing_queue" "priority_support":
1: resource "genesyscloud_routing_queue" "priority_support" {
I’ve double-checked the ID. It’s definitely a valid queue ID from the UI. I’ve also tried using the genesyscloud_routing_queue resource type with the exact name match. Nothing works. The docs say import should work for queues, but it just keeps failing.
Is there a specific format for the ID? Or maybe I need to set some state before importing? We’re on Central time, so maybe there’s a timezone issue with how the resource is being looked up? That seems unlikely, but I’m out of ideas.
Any help would be appreciated.