Terraform genesyscloud_user schema change in v1.35.0 breaking our user imports

Hey team,

We just upgraded our Genesys Cloud CX as Code provider to version 1.35.0 and our WFM user provisioning pipeline broke immediately. It looks like there was a breaking change in the genesyscloud_user resource schema regarding how email addresses are handled.

In v1.34.x, we had a separate email argument. Now it seems to be part of a nested email_address block or just removed entirely in favor of the attributes. When I run terraform plan, I get this error:

Error: Unsupported argument

 on users.tf line 12, in resource "genesyscloud_user" "wfm_agent":
 12: email = "agent@example.com"

An argument named "email" is not expected here.

I tried commenting out the email line and letting it pull from the name or division_id, but then the user creation fails with a 400 Bad Request saying the email is required. The docs for 1.35.0 are pretty light on this specific migration step.

Is there a new way to inject the email address during user creation, or do I need to use a Data Action post-creation to patch the email? I don’t want to rewrite all our 500+ user resources if I don’t have to.

Here is a snippet of what I was using before:

The email field didn’t get removed, it just got stricter about format validation in the underlying API call. You’ll need to explicitly set email_address in the nested block or ensure the existing string matches the new regex pattern exactly. Check your state file for any lingering drift on that attribute before re-applying.