data "opsgenie_team" "test" {
name = "sre"
}
resource "opsgenie_schedule" "test" {
name = "sre"
enabled = false
owner_team_id = data.opsgenie_team.test.id
}
│ Error: Error occurred with Status code: 409, Message: There is already one Team with same name, Took: 0.215000, RequestId: 3cb313f2-3c59-4bc3-a1ee-f1950e19a6ba
Expected Behavior
Created schedule with defined name
Actual Behavior
Error about duplicate team name when trying to create schedule which makes no sense. This happens during create and update operation. Appears you can't create schedule with same name as owner team name. This also happens in UI so appears to be a bug with the API
Terraform Version
1.3.4
Affected Resource(s)
Debug Output
Expected Behavior
Created schedule with defined name
Actual Behavior
Error about duplicate team name when trying to create schedule which makes no sense. This happens during create and update operation. Appears you can't create schedule with same name as owner team name. This also happens in UI so appears to be a bug with the API