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

Add support for Error Reporting notification channels

Open gnarea opened this issue 2 years ago • 4 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment. If the issue is assigned to the "modular-magician" user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If the issue is assigned to a user, that user is claiming responsibility for the issue. If the issue is assigned to "hashibot", a community member has claimed the issue already.

Description

The Error Reporting service seems to be unsupported at the moment, which means we can't associate existing notification channels to it, so that we're automatically notified when an error occurs.

  • google_monitoring_notification_channel: We can't link these to Error Reporting, like we can with google_monitoring_alert_policy.

New or Affected Resource(s)

  • google_error_reporting_notification_channel: This could be the new resource.

Potential Terraform Configuration

resource "google_monitoring_notification_channel" "foo" {
  type = "email"
  labels = {
    email_address = "[email protected]"
  }
}

resource "google_error_reporting_notification_channel" "foo" {
  notification_channel = google_monitoring_notification_channel.foo.name
}

References

  • ~b/251476459~
  • ~b/199490571~
  • b/196081105

gnarea avatar Jul 09 '22 11:07 gnarea

+1

bhaidar avatar Jul 18 '22 11:07 bhaidar

👍

harrison-carter avatar Mar 29 '23 10:03 harrison-carter

What is this blocked on? Is this simply a matter of implementing support for an existing API in the provider code, or is there more to it?

eriksw avatar Mar 31 '23 17:03 eriksw

Marking as feature request since there doesn't seem to currently be an API for this.

melinath avatar Feb 14 '24 16:02 melinath