-
Notifications
You must be signed in to change notification settings - Fork 296
/
Copy pathvars.tf
33 lines (33 loc) · 890 Bytes
/
vars.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
variable "lambda_functions" {
type = list(object({
name = string
source_file = string
zip_file_name = string
timeout = number
runtime = string
}))
description = "list of lambda functions to create"
default = [
{
name = "bitcoin"
source_file = "./fns/bitcoin/code/lambda_function.py"
zip_file_name = "./archive/fn.bitcoin.zip"
timeout = 60
runtime = "python3.9"
},
{
name = "hello"
source_file = "./fns/hello/code/lambda_function.py"
zip_file_name = "./archive/fn.hello.zip"
timeout = 60
runtime = "python3.9"
},
{
name = "pi"
source_file = "./fns/pi/code/lambda_function.py"
zip_file_name = "./archive/fn.pi.zip"
timeout = 60
runtime = "python3.9"
}
]
}