terraform-provider-pagerduty icon indicating copy to clipboard operation
terraform-provider-pagerduty copied to clipboard

Schedule can't be deleted if it's being used by an escalation policy snapshot with open incidents

Open RATANAJANGIR opened this issue 2 years ago • 2 comments

Hi, I am getting this issue when I am trying to delete the schedules, which currently not used in escalation policy,
"Schedule can't be deleted if it's being used by an escalation policy snapshot with open incidents".

Also one another issue is that, how we can remove on-call users from schedules. is there any way to disable on-call users?

RATANAJANGIR avatar Feb 27 '23 09:02 RATANAJANGIR

So is there any way to delete these schedules?

RATANAJANGIR avatar Feb 27 '23 10:02 RATANAJANGIR

The newest version of the provider should inform you that there are some incidents opened linked to the schedule that prevent you from the deletion.

drastawi avatar Mar 15 '23 09:03 drastawi