Error in Email route config on newer Terraform client versions

Hi Team,

We are currently using v1.34.x of GC client and trying to upgrade on the newer versions(v1.40+), We had running configuration in the Terraform as follows:


resource "genesyscloud_routing_email_route" "test-testacc-pure-cloud" {
domain_id = "test..pure.cloud"
pattern = "test"
from_name = "test"
from_email = "test@testcompany.com"
reply_email_address {
domain_id = "testcompany.com"
route_id = XXX
}
}


After upgrade it has started giving us conflict error during Terraform run:


Error: Conflicting configuration arguments

on modules/routing_email_route/test-testacc-pure-cloud.tf line 1, in resource "genesyscloud_routing_email_route" "test-testacc-pure-cloud":
1: resource "genesyscloud_routing_email_route" "test-testacc-pure-cloud" {

"reply_email_address": conflicts with from_email

Error: Conflicting configuration arguments

on modules/routing_email_route/test-testacc-pure-cloud.tf line 5, in resource "genesyscloud_routing_email_route" "test-testacc-pure-cloud":
5: from_email = "test@testcompany.com"

"from_email": conflicts with reply_email_address


The change in the behavior has also been observed on the Genesys UI when new changes are made to existing objects. The "From Email Address" and "Reply to" cannot have similar email addresses now. This will change our customer user experience after upgrade.

Can you suggest any way to fix this?

Regards,
Rohit

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.