Skip to main content
版本:v1.5

AWS NOTIFY-SLACK

描述

Terraform module which creates SNS topic and Lambda function which sends notifications to Slack

参数说明

属性

名称描述类型是否必须默认值
cloudwatch_log_group_kms_key_idThe ARN of the KMS Key to use when encrypting log data for Lambdastringfalse
cloudwatch_log_group_retention_in_daysSpecifies the number of days you want to retain log events in log group for Lambda.numberfalse
cloudwatch_log_group_tagsAdditional tags for the Cloudwatch log groupmap(string)false
createWhether to create all resourcesboolfalse
create_sns_topicWhether to create new SNS topicboolfalse
iam_policy_pathPath of policies to that should be added to IAM role for Lambda Functionstringfalse
iam_role_boundary_policy_arnThe ARN of the policy that is used to set the permissions boundary for the rolestringfalse
iam_role_name_prefixA unique role name beginning with the specified prefixstringfalse
iam_role_pathPath of IAM role to use for Lambda Functionstringfalse
iam_role_tagsAdditional tags for the IAM rolemap(string)false
kms_key_arnARN of the KMS key used for decrypting slack webhook urlstringfalse
lambda_descriptionThe description of the Lambda functionstringfalse
lambda_function_nameThe name of the Lambda function to createstringfalse
lambda_function_s3_bucketS3 bucket to store artifactsstringfalse
lambda_function_store_on_s3Whether to store produced artifacts on S3 or locally.boolfalse
lambda_function_tagsAdditional tags for the Lambda functionmap(string)false
lambda_function_vpc_security_group_idsList of security group ids when Lambda Function should run in the VPC.list(string)false
lambda_function_vpc_subnet_idsList of subnet ids when Lambda Function should run in the VPC. Usually private or intra subnets.list(string)false
lambda_roleIAM role attached to the Lambda Function. If this is set then a role will not be created for you.stringfalse
log_eventsBoolean flag to enabled/disable logging of incoming eventsboolfalse
recreate_missing_packageWhether to recreate missing Lambda package if it is missing locally or notboolfalse
reserved_concurrent_executionsThe amount of reserved concurrent executions for this lambda function. A value of 0 disables lambda from being triggered and -1 removes any concurrency limitationsnumberfalse
slack_channelThe name of the channel in Slack for notificationsstringtrue
slack_emojiA custom emoji that will appear on Slack messagesstringfalse
slack_usernameThe username that will appear on Slack messagesstringtrue
slack_webhook_urlThe URL of Slack webhookstringtrue
sns_topic_kms_key_idARN of the KMS key used for enabling SSE on the topicstringfalse
sns_topic_nameThe name of the SNS topic to createstringtrue
sns_topic_tagsAdditional tags for the SNS topicmap(string)false
subscription_filter_policy(Optional) A valid filter policy that will be used in the subscription to filter messages seen by the target resource.stringfalse
tagsA map of tags to add to all resourcesmap(string)false
writeConnectionSecretToRefThe secret which the cloud resource connection will be written towriteConnectionSecretToReffalse

writeConnectionSecretToRef

名称描述类型是否必须默认值
nameThe secret name which the cloud resource connection will be written tostringtrue
namespaceThe secret namespace which the cloud resource connection will be written tostringfalse