Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"genesyscloud_user" - Optional fields in addresses.phone_numbers #1247

Open
itsmanjax opened this issue Sep 6, 2024 · 1 comment
Open

"genesyscloud_user" - Optional fields in addresses.phone_numbers #1247

itsmanjax opened this issue Sep 6, 2024 · 1 comment

Comments

@itsmanjax
Copy link

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.

User_People
User-Error Message
.

Thanks & Regards,
Manju

@abejaranoh
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants