opsgenie / terraform-provider-opsgenie

Terraform OpsGenie provider
https://registry.terraform.io/providers/opsgenie/opsgenie/latest/docs
Mozilla Public License 2.0
102 stars 136 forks source link

opsgenie_alert_policy missing order property #398

Open jonfreedman opened 1 year ago

jonfreedman commented 1 year ago

Alert policies have an order and it's important as they match in a waterfall manner (https://docs.opsgenie.com/docs/alert-and-notification-policy-api#list-alert-policies)

It's not possible to set this as currently on the conditions within a policy can be ordered not the policies themselves (https://registry.terraform.io/providers/opsgenie/opsgenie/latest/docs/resources/alert_policy)

andrewmwilson commented 5 months ago

Hi @jonfreedman, I'd love to be able to use a version this provider with your fix included. Have you opened a PR?

leslie-alldridge commented 4 months ago

keen to have this

jonfreedman commented 4 months ago

PR is here: https://github.com/opsgenie/terraform-provider-opsgenie/pull/400

We're going to replace OpsGenie with PagerDuty