Error while removing outbound_callabletimeset

Hi Team,

We are trying to remove one outbound_callabletimeset object from Terraform configuration, Plan is showing target change correctly, but failing in apply. Here are the details:
PureCloud version; mypurecloud/genesyscloud v1.34.

Plan output:
Terraform will perform the following actions:

module.outbound_callabletimeset.genesyscloud_outbound_callabletimeset.XXXXX will be destroyed

  • resource "genesyscloud_outbound_callabletimeset" "XXXXX" {

Apply Output:
module.outbound_callabletimeset.genesyscloud_outbound_callabletimeset.XXXXX: Destroying... [id=*****]

Warning: Applied changes may be incomplete

....
Error: Failed to delete Outbound Callabletimeset: Failed to delete timeset: API Error: 400 - Referential integrity is not satisfied (******)


We have checked and cleaned up all the references for this object thoroughly in our configuration, still it is failing with same error. Can you suggest what could be the reason for this failure?

We would try to delete through API Call but if it works, our state file would be out of sync and we would lose the ability to troubleshoot this.

Regards,
Rohit S

Hi,

We found the issue, there was one object using this time set from UI. It is resolved now. Thank you.

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