Terraform data source lookup by name returning null for Genesys Cloud users

Running into a snag with the Genesys Cloud Terraform provider. I’m trying to reference existing user resources by name in my IaC setup, but the data source keeps returning null.

Here’s the config:

data "genesyscloud_user" "admin_user" {
 name = "System Admin"
}

When I run terraform plan, it fails with Error: No matching user found with name "System Admin". The user definitely exists in the platform. I’ve checked the spelling, case sensitivity, and even tried using the id directly, which works fine. But I need to use the name because the IDs change across our dev, staging, and prod environments.

I’ve tried adding a depends_on block to ensure the user is created before the data source is queried, but that didn’t help. I’ve also verified that the Terraform provider version is up to date (v1.35.0).

Is there a known issue with looking up users by name in the Terraform data source? Or am I missing something in the configuration? I’ve checked the provider documentation, and it seems straightforward, but I’m not getting the expected result.

Any help would be appreciated. I’m stuck on this one.