-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
33 lines (27 loc) · 873 Bytes
/
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
variable "lambda_function_name" {
description = "The name of the Lambda function to create"
default = "codebuild_to_slack"
type = "string"
}
variable "encrypted_slack_webhook_url" {
description = "The URL of Slack webhook which is encrypted using the KMS key"
type = "string"
}
variable "slack_channel" {
description = "The name of the channel in Slack for notifications"
type = "string"
}
variable "slack_username" {
description = "The username that will appear on Slack messages"
default = "CodeBuild"
type = "string"
}
variable "slack_emoji" {
description = "A custom emoji that will appear on Slack messages"
default = ":building_construction:"
type = "string"
}
variable "kms_key_arn" {
description = "ARN of the KMS key used for decrypting slack webhook url"
type = "string"
}