logdna / terraform-provider-logdna

Terraform provider to simplify creation of views, preset alerts and other resources in LogDNA!
https://registry.terraform.io/providers/logdna/logdna/latest
MIT License
11 stars 12 forks source link

Support for auto-resolve #67

Closed renier closed 9 months ago

renier commented 2 years ago

You currently can set alerts to auto-resolve in the logDNA UI, however that capability is not exposed via the logdna_alert resource.

I would expect the channel map to accept an autoresolve = <bool> option, with the additional corresponding triggers. Behind the scenes I understand this becomes two channels: the main one, and another one suffixed with -auto-resolve. The main channel then points to the auto resolve channel via the autoresolveid value.

Would be a great feature add.

mriedem commented 1 year ago

We try to encode all of our alerts in Terraform since we have the same alerts spread across multiple deployments/environments but because of this we have stopped doing that for some since we need the auto-resolve behavior that is only available in the UI.

elisiano commented 1 year ago

We are also very interested in this, but not sure if it's even in a roadmap?

gjanco commented 1 year ago

Thank you for your patience. It is officially on our roadmap to expose this property. I don't have an exact timeline, but will post here when this is available.

gjanco commented 9 months ago

This is now fixed and available in https://github.com/logdna/terraform-provider-logdna/releases/tag/v1.15.0