-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
59 lines (50 loc) · 1.33 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
variable "name" {
description = "Name for the ressources"
type = string
}
variable "account_id" {
description = "AWS account ID"
type = string
}
variable "region" {
description = "AWS region (where to deploy everything)"
type = string
}
variable "slack_settings" {
description = "Slack channel ID and workplace ID"
type = object({
slack_channel_id : string
slack_workspace_id : string
})
default = null
}
variable "lambda_code_path" {
description = "Path of the Lambda function code"
type = string
default = "logs_alerts.py"
}
variable "lambda_runtime" {
description = "Runtime for the Lambda"
type = string
default = "python3.8"
}
variable "lambda_handler" {
description = "Handler for the Lambda"
type = string
default = "logs_alerts.lambda_handler"
}
variable "lambda_environment_variables" {
description = "A map that defines environment variables for the Lambda Function."
type = map(string)
default = {}
}
variable "vpc_subnet_ids" {
description = "List of subnet IDs when the function should run in a VPC"
type = list(string)
default = null
}
variable "vpc_security_group_ids" {
description = "List of security group IDs when the function should run in a VPC"
type = list(string)
default = null
}