forked from terraform-aws-modules/terraform-aws-notify-slack
-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
45 lines (36 loc) · 1.02 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
variable "create" {
description = "Whether to create all resources"
default = true
}
variable "create_sns_topic" {
description = "Whether to create new SNS topic"
default = true
}
variable "create_with_kms_key" {
description = "Whether to create resources with KMS encryption"
default = false
}
variable "lambda_function_name" {
description = "The name of the Lambda function to create"
default = "notify_slack"
}
variable "sns_topic_name" {
description = "The name of the SNS topic to create"
}
variable "slack_webhook_url" {
description = "The URL of Slack webhook"
}
variable "slack_channel" {
description = "The name of the channel in Slack for notifications"
}
variable "slack_username" {
description = "The username that will appear on Slack messages"
}
variable "slack_emoji" {
description = "A custom emoji that will appear on Slack messages"
default = ":aws:"
}
variable "kms_key_arn" {
description = "ARN of the KMS key used for decrypting slack webhook url"
default = ""
}