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

[Feature Request]: Provide the ability to configure push notifications in Grafana OnCall #1665

Closed
proffalken opened this issue Jul 3, 2024 · 2 comments · Fixed by #1814
Closed
Assignees

Comments

@proffalken
Copy link

Feature Request

At present you can configure Mobile Push Notifications for Webhooks within the Grafana OnCall UI but not via Terraform.

The API documentation is unclear as to which integrations you can configure and how to pass the appropriate values.

We would like to be able to add push notifications via Terraform so we can include them alongside all our other notification configuration that is already in Terraform.

image

@jsnod
Copy link

jsnod commented Jul 18, 2024

Yep, we're currently doing this until support for mobile push templates is added:

resource "grafana_oncall_integration" "this" {
  ...

  templates {
    ...

    # Not yet supported by provider, but hopefully soon: https://github.com/grafana/terraform-provider-grafana/issues/1665
    # In the meantime, manually copy the below variables and paste into the Grafana template editor.
    # mobile_push {
    #   title   = var.mobile_push_title_template
    #   message = var.mobile_push_message_template
    # }
  }
}

@joeyorlando
Copy link
Contributor

@proffalken this has been released in v3.8.2, please update your provider to give it a try 🙂

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

Successfully merging a pull request may close this issue.

4 participants