Stuck on importing existing routing queues into Terraform state. My GraphQL gateway relies on a stable infra layer, and the Genesys Cloud Terraform provider is throwing a 404 during the import phase.
- I have an existing queue with ID
8a7b6c5d-1234-5678-9abc-def012345678. - I run
terraform import genecloud_routing_queue.main 8a7b6c5d-1234-5678-9abc-def012345678. - The provider attempts to fetch the resource via the API but fails with
Error refreshing state: 404 Not Found. - I verified the queue exists via
GET /api/v2/routing/queues/8a7b6c5d-1234-5678-9abc-def012345678directly. It returns 200 OK with full JSON payload. - The Terraform config looks standard:
resource "genecloud_routing_queue" "main" {
name = "Support Queue"
description = "Main support line"
}
- Why is the import failing when the REST API works? Is there a state sync issue or a specific attribute mismatch the provider expects before import?