MyPureCloud/terraform-provider-genesyscloud

genesyscloud_architect_schedules - Start and End Time keep changing

Closed this issue · 7 comments

Hi Team -
we observed that object which created via C-As-Code genesyscloud_architect_schedules , is keep getting same change on every build of another objects.
we could see this behavior in 2 objects genesyscloud_architect_schedules and genesyscloud_auth_role

image

Please help us to know why this changes appearing in the files when we have done those changes those codes .

Note : For genesyscloud_architect_schedules you have added divisions as a optional parameter. however when we try to check via terraform state it showing divisions are unsupported parameter. why ?

image

Hi,

I'll ask someone to take a look at this issue and get back to you.

Hi,

Can you please share steps to recreate the issue? Thanks,

Hi, -

  1. Create genesyscloud_architect_schedules via CX-As-Code with Division -ID.
  2. Access the Terraform state file using CLI and Try to see the Code which you created via CX-AS-Code through CLI.
  3. the output will not be appearing reason the Division ID which used in the code causing issue.

Can you confirm if the Division is already existing on your Genesys Cloud org? If it is, we are recommending using data source for already existing objects. You may find the documentation how to use it here. Otherwise, can you please share the .tf file to help us with the investigation.

Yes Division is exits and the code working fine, but we did it via variable for division not via data source. My ask in this issue is if we use division-id in genesyscloud_architect_schedules parameter, why it is showing unsupported parameter when we try to display the code using Terraform CLI with state show command, where other resources are showing correctly.?

Closing this item due to inactivity