Skip to content

This is a module that creates an AWS SNS Application Module and it was designed to be used with DNXLabs/terraform-aws-monitoring.

License

Notifications You must be signed in to change notification settings

perxhealth/terraform-aws-sns

 
 

Repository files navigation

terraform-aws-sns

Lint Status LICENSE

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

Requirements

Name Version
terraform >= 0.12.0

Providers

Name Version
aws n/a
random n/a

Inputs

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 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

Outputs

Name Description
aws_sns_topic_arn n/a

Authors

Module managed by DNX Solutions.

License

Apache 2 Licensed. See LICENSE for full details.

About

This is a module that creates an AWS SNS Application Module and it was designed to be used with DNXLabs/terraform-aws-monitoring.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HCL 100.0%