Hey folks,
Trying to get an existing Genesys Cloud environment under version control with Terraform. We’ve got about 50 queues already set up and I need to import them into the state file so we can start managing them as code.
I’m using the standard genesyscloud provider. When I run:
terraform import genesyscloud_routing_queue.main <queue_id>
It fails with:
Error: Error importing object "genesyscloud_routing_queue.main": resource not found
The queue definitely exists. I can fetch it via the API:
GET /api/v2/routing/queues/{id}
and get a 200 OK with the JSON payload.
I’ve tried using the full URI as the ID too, but same error. Is there a specific format required for the import ID? Or do I need to bootstrap the state differently for routing resources?
I’ve checked the docs but they don’t mention any quirks for queue imports. Running Terraform 1.5.7 with provider version 1.38.0.
Any ideas?