Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 635 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 635 Bytes

Terraform Module: Slack

Creates Chatbot and SNS topic required to setup Slack message

Usage

module "slack-sns" {
  source = "github.com/dbl-works/terraform//slack/sns?ref=v2021.07.05"

  # Optional
  sns_topic_name = "slack-sns"
}

module "chatbot" {
  source = "github.com/dbl-works/terraform//slack/chatbot?ref=v2021.07.05"

  chatbot_name       = "facebook-staging-chatbot"

  # Optional
  slack_channel_id         = "CXXXXXXXXXX"
  slack_workspace_id       = "TXXXXXXXX"
  guardrail_policies       = ["arn:aws:iam::aws:policy/CloudWatchReadOnlyAccess"]
  sns_topic_arns           = [module.slack-sns.arn]
}