Terraform plan fails on genesyscloud_user after upgrading to provider v1.35.0

Upgraded the NICE CXone provider to v1.35.0 this morning. The genesyscloud_user resource schema changed. It now expects a routing_profile block instead of the old routing_profile_id string attribute.

My state file has hundreds of users. Running terraform plan throws a diff for every single user resource.

Error: Attribute "routing_profile_id" not expected

The docs say to use the block structure:

resource "genesyscloud_user" "agent" {
 name = "Test Agent"
 email = "test@nicex.com"
 routing_profile {
 id = var.queue_profile_id
 }
}

But I don’t want to rewrite 500 resources. Is there a terraform state replace-provider or a migration script that handles this schema shift? Or do I have to manually edit the state file to move the ID into the block?

Tried terraform import but it just re-applies the new schema and fails again. Stuck on the plan step.