Terraform import failing on existing CXone IVRs with 409 Conflict

Trying to bring our existing CXone IVRs under Terraform management. We’ve been using the UI for years and now want to codify it.

Running terraform import genesyscloud_ivr.my_ivr <id> returns a 409 Conflict. The error message says “Resource already exists” but we are literally trying to import it.

Here is the resource block:

resource "genesyscloud_ivr" "main_ivr" {
 name = "Main IVR"
 description = "Primary customer routing"
 
 ivr_flow {
 # ... flow definition
 }
}

The ID I’m passing is definitely correct. It matches the one from the API response when I GET /api/v2/ivrs.

Is there a specific flag or data source lookup I need to run first before the import command? The docs are vague on pre-import checks.

Also, should I be using the genesyscloud_ivr resource or is there a newer version for the updated IVR builder? The provider version is 1.68.0.