terraform-provider-google
terraform-provider-google copied to clipboard
Add support for Error Reporting notification channels
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 withgoogle_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
+1
👍
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?
Marking as feature request since there doesn't seem to currently be an API for this.