Resource for interacting with the Datadog Slack channel API
resource "datadog_integration_slack_channel" "test_channel" {
account_name = "foo"
channel_name = "#test_channel"
display {
message = true
notified = false
snapshot = false
tags = true
}
}
account_name
(String) Slack account name.channel_name
(String) Slack channel name.display
(Block List, Min: 1, Max: 1) Configuration options for what is shown in an alert event message. (see below for nested schema)id
(String) The ID of this resource.display
Optional:
message
(Boolean) Show the main body of the alert event. Defaults to true
.notified
(Boolean) Show the list of @-handles in the alert event. Defaults to true
.snapshot
(Boolean) Show the alert event's snapshot image. Defaults to true
.tags
(Boolean) Show the scopes on which the monitor alerted. Defaults to true
.Import is supported using the following syntax:
# Slack channel integrations can be imported using their account_name and channel_name separated with a colon (`:`).
terraform import datadog_integration_slack_channel.test_channel "foo:#test_channel"