This is a module that creates an AWS SNS Application Module and it was designed to be used with DNXLabs/terraform-aws-monitoring
.
The following resources will be created:
- Simple Notification Services (SNS) topic
- Provides a Lambda Function resource. Lambda allows you to trigger execution of code in response to events in AWS, enabling serverless backend solutions. The Lambda function details and documentation are available on
DNXLabs/lambda-cloudwatch-slack
. - Gives an external source (like a CloudWatch Event Rule, SNS, or S3) permission to access the Lambda function. In our case is SNS
- An SNS topic policy resource
Name | Version |
---|---|
terraform | >= 0.12.0 |
Name | Version |
---|---|
aws | n/a |
random | n/a |
Name | Description | Type | Default | Required |
---|---|---|---|---|
account_ids | List of accounts to allow publishing to SNS (optional - only when SNS topic is created) | list(string) |
[] |
no |
Email address to subscribe notification to (optional) | string |
"" |
no | |
slack_endpoint | endpoint to Slack notifications channel (optional) | string |
"" |
no |
sns_kms_encryption | Enabled KMS CMK encryption at rest for SNS Topic | bool |
false |
no |
sns_topic_arn | SNS Topic to use instead of creating one (optional) | string |
"" |
no |
sns_topic_name | Topic name (optional - creates SNS topic) | string |
"" |
no |
Name | Description |
---|---|
aws_sns_topic_arn | n/a |
Module managed by DNX Solutions.
Apache 2 Licensed. See LICENSE for full details.