This Terraform module automates the deployment of an AWS Chatbot integration with EventBridge. The integration leverages Lambda functions and SNS topics to seamlessly route events from EventBridge to your AWS Chatbot, enabling real-time notifications and streamlined incident response.
- Event-driven integration with EventBridge
- Lambda function processing for event transformation and filtering
- Reliable event delivery with SNS topics
- Seamless integration with AWS Chatbot
Name | Version |
---|---|
terraform | ~> 1.9 |
archive | ~> 2.0 |
aws | ~> 5.0 |
null | ~> 3.0 |
Name | Description | Type | Default | Required |
---|---|---|---|---|
aws_tags | Additional tags to apply to this module. | map(string) |
{} |
no |
chatbot_slack_channels | A list of Slack Channel IDs to send notifications to. | list(string) |
n/a | yes |
chatbot_slack_team | The Slack Workspace ID associated with the ChatBot. | string |
n/a | yes |
eventbridge_patterns | Events to send notifications for. | map(string) |
{} |
no |
id | Unique ID associated with this deployment | string |
n/a | yes |
module "terraform_trailwatch_chatbot" {
source = "terraform-trailwatch-modules/chatbot/aws"
id = "my-chatbot"
chatbot_slack_channels = ["C01234567", "C12345678"]
chatbot_slack_team = "T01234567"
}
module "terraform_trailwatch_chatbot" {
source = "terraform-trailwatch-modules/chatbot/aws"
id = "my-chatbot"
chatbot_slack_channels = ["C01234567", "C12345678"]
chatbot_slack_team = "T01234567"
eventbridge_patterns = {
ec2_instance_state_change = <<EOF
{
"source": [
"aws.ec2"
],
"detail-type": [
"EC2 Instance State-change Notification"
]
}
EOF
}
}
For a detailed list of changes, please refer to the CHANGELOG.md.
This module is licensed under the MIT License.