MyPureCloud / terraform-provider-genesyscloud

Terraform Provider Genesyscloud
MIT License
37 stars 85 forks source link

"genesyscloud_externalcontacts_contact" - "extension" field issue #1257

Closed itsmanjax closed 2 weeks ago

itsmanjax commented 2 months ago

Hi All,

Following is the generated terraform snippet for ExternalContact :

"title": "Senior Consultant", "work_phone": { "display": "+91 808xx xxxxx", "extension": 897, "accepts_sms": true, "e164": "+91808xxxxxxx", "country_code": "IN" }, "cell_phone": { "display": "+91 974xx xxxxx", "accepts_sms": true, "e164": "+91974xxxxxxx", "country_code": "IN" }, "other_phone": { "display": "+1 201-xxx-xxxx", "accepts_sms": false, "e164": "+1201xxxxxxx", "country_code": "US" }, "home_phone": { "display": "+1 201-xxx-xxxx", "accepts_sms": false, "e164": "+1201xxxxxxx", "country_code": "US" }

"cell_phone", "other_phone" and "home_phone" don't have "extension" field and as per the schema it's not an mandatory field.

But when run the script to deploy the object in another Genesys Cloud env, "ext. 0" is getting added to the above mentioned fields. (please refer to the enclosed screenshot)

ExternalContacts

Please can you validate this.

Regards, Manjunath

carnellj-genesys commented 2 months ago

Hi Itsjmax,

Im going to open a ticket with the team. We can remove fields on the export if they are empty, so we just to look at implementing it the above fields.

Thanks, John

charliecon commented 2 weeks ago

Fixed in PR #1346

Will be publicly released next week on v1.53.0