Terraform plan fails on genesyscloud_user routing_skills after v1.35.0 update

Upgraded the Genesys Cloud Terraform provider to v1.35.0 and the terraform plan is now throwing a validation error on our existing genesyscloud_user resources. It seems the schema for routing_skills changed from a flat list of strings to a map structure in this release.

Here’s the current configuration that worked fine in v1.34.2:

resource "genesyscloud_user" "agent" {
 name = "Test Agent"
 routing_skills = ["support", "billing"]
}

The error output looks like this:

Error: Incorrect attribute value type

 on main.tf line 15, in resource "genesyscloud_user" "agent":
 15: routing_skills = ["support", "billing"]

Inappropriate value for attribute "routing_skills": set of string required.

Wait, the error says set of string required, but the docs for v1.35.0 suggest it should be a map of skill_id to proficiency. I tried switching to the map format:

routing_skills = {
 "support" = 5
 "billing" = 3
}

But now it complains about missing skill_id references. How do I map the skill names to their actual IDs dynamically within the resource block? I don’t want to hardcode the skill IDs since they vary between environments.