-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
42 lines (38 loc) · 1005 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
33
34
35
36
37
38
39
40
41
42
locals {
lambda_slack_notify_name = "${var.name}-slack-notify"
}
variable "enable_lambda" {
type = bool
}
variable "name" {
type = string
}
variable "slack_channel" {
type = string
}
variable "slack_username" {
type = string
}
variable "slack_webhook" {
type = string
}
variable "runtime" {
description = "Lambda Function runtime"
type = string
default = "python3.9"
}
variable "timeout" {
description = "The amount of time your Lambda Function has to run in seconds."
type = number
default = 300
}
variable "layers" {
description = "List of Lambda Layer Version ARNs (maximum of 5) to attach to your Lambda Function."
type = list(string)
default = null
}
variable "aux_sns_senders_arn_list" {
description = "List of ARNs allowed to send a messages to the SNS. It may me useful with access from another AWS account. A default SNS policy will be applied if the list is not specified."
type = list(string)
default = null
}