Upgraded the Terraform provider to v1.35.0 yesterday. Now every genesyscloud_user resource fails during plan.
The error points to the routing_email attribute.
Error: Unsupported argument
on users.tf line 15, in resource "genesyscloud_user" "agent_1":
15: routing_email = "agent1@company.com"
An argument named "routing_email" is not expected here. Did you mean to define a
block "routing_email"?
Checked the v1.35.0 release notes. No mention of this change. The docs still show it as a simple string argument.
resource "genesyscloud_user" "agent_1" {
email = "agent1@company.com"
first_name = "John"
last_name = "Doe"
routing_email = "agent1@company.com" # This used to work
}
Tried wrapping it in a block like the error suggests.
routing_email {
address = "agent1@company.com"
}
That just gives a different error about unknown keys.
- Provider version: 1.35.0
- Previous version: 1.34.2 (worked fine)
- HCL version: 1.3.6
- Terraform version: 1.6.0
Is this a known regression or did the schema actually change to a block structure? Haven’t found anyone else complaining yet.