Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/louis-fiori/terraform-aws-cloudwatch-logs-enhanced-alarms-notifications
📣 Terraform module for smart alerts using AWS Lambda and Chatbot
https://github.com/louis-fiori/terraform-aws-cloudwatch-logs-enhanced-alarms-notifications
aws aws-chatbot aws-cloudwatch-logs aws-lambda terraform-aws terraform-module
Last synced: about 1 month ago
JSON representation
📣 Terraform module for smart alerts using AWS Lambda and Chatbot
- Host: GitHub
- URL: https://github.com/louis-fiori/terraform-aws-cloudwatch-logs-enhanced-alarms-notifications
- Owner: louis-fiori
- License: mit
- Created: 2024-05-27T08:42:40.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-27T08:48:25.000Z (8 months ago)
- Last Synced: 2024-11-02T22:42:08.313Z (3 months ago)
- Topics: aws, aws-chatbot, aws-cloudwatch-logs, aws-lambda, terraform-aws, terraform-module
- Language: HCL
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 📝 Medium Article
For more information about this module, check out this article: [https://medium.com/@louis-fiori/cloudwatch-logs-enhanced-alerts-a50ea08d0845](https://medium.com/@louis-fiori/cloudwatch-logs-enhanced-alerts-a50ea08d0845)
## 🔗 Requirements| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.4.5 |
| [aws](#requirement\_aws) | >= 4.0.0 |
| [awscc](#requirement\_awscc) | >= 0.2 |## ➡️ Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [account\_id](#input\_account\_id) | AWS account ID | `string` | n/a | yes |
| [lambda\_code\_path](#input\_lambda\_code\_path) | Path of the Lambda function code | `string` | `"logs_alerts.py"` | no |
| [lambda\_environment\_variables](#input\_lambda\_environment\_variables) | A map that defines environment variables for the Lambda Function. | `map(string)` | `{}` | no |
| [lambda\_handler](#input\_lambda\_handler) | Handler for the Lambda | `string` | `"logs_alerts.lambda_handler"` | no |
| [lambda\_runtime](#input\_lambda\_runtime) | Runtime for the Lambda | `string` | `"python3.8"` | no |
| [name](#input\_name) | Name for the ressources | `string` | n/a | yes |
| [region](#input\_region) | AWS region (where to deploy everything) | `string` | n/a | yes |
| [slack\_settings](#input\_slack\_settings) | Slack channel ID and workplace ID |object({| `null` | no |
slack_channel_id : string
slack_workspace_id : string
})
| [vpc\_security\_group\_ids](#input\_vpc\_security\_group\_ids) | List of security group IDs when the function should run in a VPC | `list(string)` | `null` | no |
| [vpc\_subnet\_ids](#input\_vpc\_subnet\_ids) | List of subnet IDs when the function should run in a VPC | `list(string)` | `null` | no |## ⬅️ Outputs
| Name | Description |
|------|-------------|
| [lambda\_arn](#output\_lambda\_arn) | ARN of the Lambda function (use it with CloudWatch Logs Subscription Filter) |
| [sns\_topic\_arn](#output\_sns\_topic\_arn) | ARN of the SNS topic (if you need to setup other notifications than Slack) |