notify-slack-kms

dod-iac/notify-slack-kms/aws

Terraform Module HCL AWS

Terraform module which creates SNS topic and Lambda function which sends notifications to Slack with KMS keys pre-configured

Install
module "notify-slack-kms" {
source = "dod-iac/notify-slack-kms/aws"
version = "1.0.0"
}
plain text: /constructs/tfmod-dod-iac-notify-slack-kms-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform AWS Notify Slack Description Terraform module which creates SNS topic and Lambda function which sends notifications to Slack with KMS keys pre-configured See the original notify-slack for more details. Usage `` hcl module "notify_slack" { source = "dod-iac/notify-slack-kms/aws" version = "1.0.0" ssm_namespace = "/project-app" } ` Using AWS SSM Parameter Store you will need to create these variables: /project-app/notify_slack_webhook_url /project-app/notify_slack_channel /project-app/notify_slack_username /project-app/notify_slack_emoji (without : symbols) The variable /project-app/notify_slack_webhook_url` should be the webhook url where the SNS topic will post. The URL uses a KMS key to encode it so the lambda function doesn't expose the value. Requirements | Name | Version | |-

Inputs (4)
NameTypeDescriptionDefault
ssm_namespacestringThe namespace for AWS SSM required
tagsmaptags for resources{}
cloudwatch_log_group_retention_in_daysnumberSpecifices the number of days to retain logs from cloudwatch90
namestringA unique name for the module"sns"
Outputs (2)
slack_kms_key_id — The KMS Key to encrypt Slack Webhook URLs
sns_topic_arn — The ARN of the SNS topic
Resources (3)
aws_kms_aliasaws_kms_ciphertextaws_kms_key
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.0
Cloud AWS
★ Stars1
Forks1
Total downloads6.4k
Inputs4
Outputs2
Resources3
LicenseMIT
Namespacedod-iac
Updated