Skip to content

Terraform module setting up Slack notifications from AWS using AWS Chatbot

License

Notifications You must be signed in to change notification settings

obytes/terraform-aws-chatbot-slack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-aws-chatbot-slack

Terraform module setting up Slack notifications from AWS using AWS Chatbot.

Find instructions to deploy this on: https://www.obytes.com/blog/sending-notifications-to-slack-using-aws-chatbot

Requirements

Name Version
terraform >= 0.12

Providers

Name Version
aws n/a
local n/a

Inputs

Name Description Type Default Required
configuration_name The name of the configuration. any n/a yes
iam_role_arn The ARN of the IAM role that defines the permissions for AWS Chatbot. This is a user-defined role that AWS Chatbot will assume. This is not the service-linked role. For more information, see IAM Policies for AWS Chatbot. any n/a yes
logging_level Specifies the logging level for this configuration. This property affects the log entries pushed to Amazon CloudWatch Logs. Logging levels include ERROR, INFO, or NONE. string "ERROR" no
slack_channel_id The ID of the Slack channel. To get the ID, open Slack, right click on the channel name in the left pane, then choose Copy Link. The channel ID is the 9-character string at the end of the URL. For example, ABCBBLZZZ. any n/a yes
slack_workspace_id The ID of the Slack workspace authorized with AWS Chatbot. To get the workspace ID, you must perform the initial authorization flow with Slack in the AWS Chatbot console. Then you can copy and paste the workspace ID from the console. For more details, see steps 1-4 in Setting Up AWS Chatbot with Slack in the AWS Chatbot User Guide. any n/a yes
sns_topic_arns The ARNs of the SNS topics that deliver notifications to AWS Chatbot. list(string) n/a yes
tags Additional tags (e.g. map('BusinessUnit','XYZ') map(string) {} no

Outputs

Name Description
configuration_arn The ARN of the Chatbot Slack configuration
stack_id The unique identifier for the stack.

About

Terraform module setting up Slack notifications from AWS using AWS Chatbot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages