-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
56 lines (47 loc) · 1.23 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
variable "component" {
description = "Component name, will be used to generate names for created resources"
type = string
}
variable "project" {
description = "Project name, will be used to generate names for created resources"
type = string
}
variable "tags" {
description = "Tags to attach to resources"
type = any
default = {}
}
variable "function_name" {
description = "Name of lambda function"
type = string
}
variable "runtime" {
description = "Lambda runtime"
type = string
default = "python3.9"
}
variable "timeout" {
description = "Lambda timeout"
type = number
default = 180
}
variable "handler" {
description = "Lambda handler, name of the file and function"
type = string
default = "handler.lambda_handler"
}
variable "environment_vars" {
description = "Environment variables for lambda function"
type = any
default = {}
}
variable "policy_statements" {
description = "Policy statements to attach to IAM role used by EC2 Instances"
type = any
default = {}
}
variable "eventbridge_trigger" {
description = "Lambda will be triggered by provided EventBridge event"
type = string
default = ""
}