terraform-provider-grafana icon indicating copy to clipboard operation
terraform-provider-grafana copied to clipboard

Support for multiple template types in Grafana on call integration.

Open alekhrycaiko opened this issue 3 years ago • 2 comments

I'd like to be able to configure multiple template types, not just Slack, when using the Grafana on call integration resource.

In my case, I've been manually configuring Grafana On Call's Jinja2 integration to form readable messages to send in alerts. In addition, my custom message format from SNS/Alert Manager is missing the message key expected by the defaults right now. It'd be helpful if I could modify the Grafana on call Jinja template in Terraform to fit my payload.

alekhrycaiko avatar Apr 26 '22 18:04 alekhrycaiko

This is related to the provider not supporting anything other than Slack in the grafana_oncall_integration resource: https://registry.terraform.io/providers/grafana/grafana/latest/docs/resources/oncall_integration#nestedblock--templates

ryanisnan avatar Jun 27 '22 18:06 ryanisnan

This is related to the provider not supporting anything other than Slack in the grafana_oncall_integration resource: https://registry.terraform.io/providers/grafana/grafana/latest/docs/resources/oncall_integration#nestedblock--templates

Does this also support Teams? I'm really looking for a solution here.

dnanaklouvi avatar Aug 20 '22 16:08 dnanaklouvi

@DWebb0 Registering my interest here...

DWebb0 avatar Jan 06 '23 15:01 DWebb0

Registering our need for this too

wr-nathan avatar Feb 15 '23 10:02 wr-nathan

Implemented here: https://github.com/grafana/terraform-provider-grafana/pull/831

julienduchesne avatar Mar 07 '23 01:03 julienduchesne