Terraform module: notify-slack

From wikieduonline
Jump to navigation Jump to search

This module creates an SNS topic (or uses an existing one) and an AWS Lambda function that sends notifications to Slack using the incoming webhooks API.


module "notify-slack_example_notify-slack-simple" {
 source  = "terraform-aws-modules/notify-slack/aws//examples/notify-slack-simple"
 version = "5.6.0"
}


module "notify_slack" {
 source  = "terraform-aws-modules/notify-slack/aws"
 version = "~> 5.0"

 sns_topic_name = "slack-topic"

 slack_webhook_url = "https://hooks.slack.com/services/AAA/BBB/CCC"
 slack_channel     = "aws-notification"
 slack_username    = "reporter"
}

Related

See also

Advertising: