Genesyscloud_user schema change in v1.35.0

Just noticed that the genesyscloud_user resource schema changed in CX as Code provider v1.35.0, causing my local Terraform plan to fail. The routing_skills attribute is no longer recognized as a block, but the docs haven’t updated yet.

Error: Unsupported argument

 on main.tf line 12, in resource "genesyscloud_user" "dev":
 12: routing_skills {

An argument named "routing_skills" is not expected here.

Is this a breaking change requiring a migration to genesyscloud_user_routing_skill or a provider bug?

Take a look at at the provider’s changelog for v1.35.0. The schema likely shifted to a flat list.

  1. Replace routing_skills {} block with routing_skills = ["id1", "id2"].
  2. Run terraform refresh to update state.
    This aligns with the new API structure.