"genesyscloud_user" - Optional fields in addresses.phone_numbers
Opened this issue · 1 comments
Hi Team,
We are using GenesysCloud provider version 1.44.0
genesyscloud_user has been implemented to populate User Genesys Cloud Object.
Nested Schema for addresses.phone_numbers
Optional:
- extension (String)
- media_type (String)
- number (String)
- type (String)
The schema says the above fields are Optional, but during execution we are getting error message stating
Inappropriate value for attribute "addresses": element 0: attribute
"phone_numbers" : element 0: attribute "extension" is required.
Please find the enclosed screenshot for references.
For Ex.
In "Work Phone", We need to map Extn only, but cannot do that (need to set default value for "number")
In "Cell Phone", We need to map Cell phone only, but cannot do that (need to set default value for "extension")
Please can you look into these issues and assist to resolve.
Thanks & Regards,
Manju
Hi Manju,
I checked and the field is optional. For us it works with two phone_numbers sections instead of the [ ] but we use .tf and not .json