resource "opsgenie_schedule_rotation" "Day" {
length = 1
name = "Day"
schedule_id = opsgenie_schedule.some_schedule.id
start_date = "2017-10-25T07:00:00Z"
type = "daily"
participant {
id = opsgenie_escalation.some_escalation.id
type = "escalation"
}
time_restriction {
type = "time-of-day"
restriction {
end_hour = 22
end_min = 0
start_hour = 10
start_min = 0
}
}
}
Actual Behavior
Error: Participant type should be one of these: 'User', 'Team'
on schedules.tf line 13, in resource "opsgenie_schedule_rotation" "Day":
13: resource "opsgenie_schedule_rotation" "Day" {
Docs says i'm should be able to https://registry.terraform.io/providers/opsgenie/opsgenie/latest/docs/resources/schedule_rotation#participant
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Actual Behavior