Problem
We’re running the standard queue layout automation scripts. The infra team bumped the Genesys CX as Code provider to v1.35.0 last night. Suddenly the CI pipeline fails on the user provisioning step. The script worked fine with v1.34.x. Now it complains about a schema shift. Logs show the parser choking on the array format. Not sure if it’s a cache issue or just a hard break.
Code
Here’s the block throwing the error:
resource "genesyscloud_user" "queue_admin" {
name = "Queue Layout Supervisor"
email = "q.supervisor@company.com"
username = "q.supervisor"
division_id = var.default_division_id
user_types = ["AUTOMATED_USER"]
skills = ["queue-analytics", "ui-admin"]
}
Error
Running terraform plan outputs this:
Error: Unsupported argument
on users.tf line 8, in resource "genesyscloud_user" "queue_admin":
8: skills = ["queue-analytics", "ui-admin"]
An argument named "skills" is not expected here. Did you mean to declare a new block, such as "skill_groups", or did you misspell the name of an argument?
Question
The changelog mentions a breaking change in the genesyscloud_user resource schema. It looks like skills got deprecated or renamed. We’ve got about forty of these resources in the state file. Running terraform state rm seems risky when we’re managing active queue supervisors. What’s the exact syntax swap for v1.35.0? The docs aren’t clear on how to migrate the array format without wiping the state.
Also, the user_types argument is throwing a similar warning now. It wants a single string instead of a list. We’ve got mixed automated and interactive agents in the same module. The plan command just hangs after the first error.
Need the exact HCL syntax for the new schema before the next deploy window closes.