Running genesyscloud export to grab a full org snapshot for DR. The CLI hangs on routing/profile resources. It looks like it’s trying to resolve a circular dependency between the profile and a queue that references it, but the error message is useless.
Error: cycle detected: routing.profile.main -> routing.queue.support -> routing.profile.main
I’ve tried excluding routing/profile but then the queues fail to export because they need the routing_profile_id. Here’s the snippet I’m using:
resource "genesyscloud_routing_profile" "main" {
name = "Main Profile"
default_acw_wrapup_code = "..."
}
The JSON output stops dead. No trace context in the logs either, which makes debugging a pain. Is there a flag to ignore circular refs during export? Or do I have to manually break the chain in Architect first? This is blocking our DR drill. The docs mention --include but nothing about dependency resolution order. I’ve spent two days on this. The CLI just spins. No CPU spike. Just waiting. Any ideas?