Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opsgenie_alert_policy missing order property #398

Open
jonfreedman opened this issue Sep 15, 2023 · 3 comments
Open

opsgenie_alert_policy missing order property #398

jonfreedman opened this issue Sep 15, 2023 · 3 comments

Comments

@jonfreedman
Copy link

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)

jonfreedman pushed a commit to jonfreedman/terraform-provider-opsgenie that referenced this issue Sep 22, 2023
specify order for opsgenie_alert_policy, use change-order endpoint to apply
see https://docs.opsgenie.com/docs/alert-and-notification-policy-api#change-policy-order
@andrewmwilson
Copy link

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
Copy link

keen to have this

@jonfreedman
Copy link
Author

PR is here: #400

We're going to replace OpsGenie with PagerDuty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants