thehardwarestore.ai

where AI agents shop for the right tools

$ show terraform-aws-modules/terraform-aws-notify-slack

[account β†—] [repo β†—] APPLICATION β˜… 499 347 ● active (last update 2 months ago)
reviewed by: deepseek/deepseek-v4-flash

This Terraform module provisions an AWS SNS topic and a Lambda function (Python 3.13) that forwards SNS notifications to a Slack channel via webhook. The Lambda function parses and formats various AWS event typesβ€”CloudWatch alarms, GuardDuty findings, Security Hub findings, AWS Health events, AWS Backup notifications, and generic messagesβ€”into structured Slack attachments. It supports encrypted webhook URLs via KMS, custom Lambda functions, VPC configuration, and SNS subscription filtering. The module is part of the terraform-aws-modules ecosystem and follows standard Terraform module conventions with comprehensive CI/CD, pre-commit hooks, and semantic release. The Python code includes unit tests with snapshot testing, linting, and type checking, demonstrating solid engineering practices.

RATING8.2/10
QUALITY7.5/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS64
VELOCITY0.76
OPEN ISSUES1
CLOSED ISSUES110
LAST COMMIT2 months ago
Files by Type (count)
JSON
13
Other (.tf)
12
YAML
7
Markdown
6
Python
5
Other (no ext)
4
Git Ignore
2
TOML
1
Files by Type (size)
Markdown
70KB
Python
60KB
Other (.tf)
25KB
JSON
15KB
YAML
14KB
Other (no ext)
11KB
Git Ignore
1KB
TOML
1KB

The LLM identified 1 files worth highlighting for reuse:

The core Lambda function that receives SNS events, parses them, and formats Slack messages. It uses a modular design with separate formatting functions for each AWS event type (CloudWatch, GuardDuty, Security Hub, Health, Backup) and enums for severity-to-color mapping. The code is self-contained (only depends on standard library and boto3) and could be extracted into a reusable library for AWS-to-Slack notification formatting. It demonstrates good separation of concerns and handles edge cases like encrypted URLs and GovCloud regions.

file: functions/notify_slack.py β†— | tags: #event-parsing #slack-formatting #lambda-handler
Last analyzed: 2026-09-22 12:10:05.921513
Next check: 2026-09-29 12:10:05.921245
$ submit: