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

[Feature Request] Add support for Slack integration

Open snemetz opened this issue 6 years ago • 12 comments

Working on fully automating our monitoring setup. It would be very helpful if Terraform could configure Datadog's Slack integration.

My plan is for monitoring to be setup with each service. That would include a Slack channel and that channel added to Datadog's Slack integration.

I'd expect 2 resources to be needed

  1. Datadog Slack integration base configuration
  2. Datadog Slack channel

Support in go-datadog: https://github.com/zorkian/go-datadog-api/commit/ebe1e4a05ec6ff536cc27175f2dcf757e49ebb7f

snemetz avatar May 02 '18 16:05 snemetz

👍

chenrui333 avatar Dec 13 '18 03:12 chenrui333

👍

h3x89 avatar Aug 26 '19 09:08 h3x89

Note: I reviewed go-datadog and it does not appear to support the Monitor Alert Message Options

image

I have found that I prefer them all to be off which is likely to be not default.

EDIT This isn't such a priority, but as these are options, they should all be supported.

matt-canty-dragon avatar Jan 29 '20 10:01 matt-canty-dragon

This is currently a problem for us, we are hoping to grow adoption and making it easy to full configure datadog with a terraform module tailored to our setup will go a long way toward getting the tooling in front of people so they can really evaluate it.

chrisjohnson avatar Aug 12 '20 20:08 chrisjohnson

same as others mentioned here. Currently need to use a webhook so there is no way to fully automate this and just use {{kube_deployment.name}}, as the webhook needs to be set up in each channel.

terowz avatar Mar 09 '21 21:03 terowz

Hi all, wanted to follow up here with an update. We have added a slack channels resource: https://github.com/DataDog/terraform-provider-datadog/pull/932

skarimo avatar Mar 25 '21 19:03 skarimo

@snemetz - based on @skarimo's comment and #932, seems like this issue could be considered closed, right?

coopergillan avatar Jul 08 '21 02:07 coopergillan

Probably. I've change companies a couple times since this was opened and currently don't use DataDog

snemetz avatar Jul 08 '21 02:07 snemetz

@skarimo - would you consider this closed?

coopergillan avatar Jul 08 '21 14:07 coopergillan

Based on the original comment, a resource for both the slack channels as well as the base slack integration would be desirable. I'm not actively working in this space but my company does use datadog (managed via terraform) and that still sounds like the desired state. Does the linked PR provide both pieces or only just the configuration of the slack channels themselves?

chrisjohnson avatar Jul 08 '21 14:07 chrisjohnson

Hi all, we will go ahead and keep this issue open as the original request was looking for the ability to configure both the base slack integration as well as slack channels. The Datadog terraform provider currently supports configuring slacks channels only.

Thanks!

skarimo avatar Jul 08 '21 15:07 skarimo

Seems like the resource misses the "muting" property of the channel configuration.

ohookins avatar Nov 19 '21 22:11 ohookins