forked from UKHomeOffice/acp-tf-guardduty-notify-slack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariable.tf
43 lines (34 loc) · 1.05 KB
/
variable.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
variable "lambda_function_name" {
description = "The name of the Lambda function to create"
default = "guardduty_notify_slack"
}
variable "slack_webhook_url" {
description = "The URL of the 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 "ignore_sample_events" {
description = "Flag to toggle whether to ignore sample events"
default = "false"
}
variable "lambda_variable_kms_key" {
description = "ARN of the KM keys used for decryption of lambda variables"
}
variable "bucket_name" {
description = "Bucket name of GuardDuty event logs"
}
variable "bucket_kms_key" {
description = "KMS key arn used to decrypt the GuardDuty s3 events"
}
variable "alert_emails" {
description = "Emails to alert on if there is an error in the lambda"
default = []
}