aws-alarms-slack
Adaptavist/aws-alarms-slack/module
Terraform module that links a Lambda function to an SNS topic, expecting to receive CloudWatch alarms, forwarding the alarms to a Slack channel.
Install
README
AWS Slack Alarm Notifications  This module creates an SNS Topic and an AWS Lambda function that forwards the message from the topic to the given Slack workspace. Variables | Name | Type | Default | Required | Description | | ------------------------------ | ------- | ------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | function_name | string | | ✓ | A unique name for the lambda function | | description | string | | ✓ | A description of the lambda function | | memory_size | integer | 128 | | Amount of memory in MB your Lambda Function can use at runtime | | reserved_concurrent_executions | string |
Inputs (13)
| Name | Type | Description | Default |
|---|---|---|---|
| stage | string | required | |
| tags | map(string) | required | |
| function_name | string | A unique name for the lambda function. | required |
| description | string | A description of the lambda function. | required |
| namespace | string | required | |
| aws_region | string | AWS Region | required |
| slack_webhook_url | string | required | |
| display_service_name | string | the service using this module ie: Lifecycle Service | required |
| timeout | number | timeout | 30 |
| environment_variables | map(string) | Environment variables | {} |
| include_region | bool | If set to true the current providers region will be appended to any global AWS r | false |
| memory_size | string | Amount of memory in MB your Lambda Function can use at runtime | "128" |
| name | string | "function" |
Outputs (2)
alarms_topic_arnlambda_arn