terraform-provider-datadog
terraform-provider-datadog copied to clipboard
[Feature Request] Add support for Slack integration
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
- Datadog Slack integration base configuration
- Datadog Slack channel
Support in go-datadog: https://github.com/zorkian/go-datadog-api/commit/ebe1e4a05ec6ff536cc27175f2dcf757e49ebb7f
👍
👍
Note: I reviewed go-datadog and it does not appear to support the Monitor Alert Message Options

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.
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.
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.
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
@snemetz - based on @skarimo's comment and #932, seems like this issue could be considered closed, right?
Probably. I've change companies a couple times since this was opened and currently don't use DataDog
@skarimo - would you consider this closed?
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?
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!
Seems like the resource misses the "muting" property of the channel configuration.