-
Notifications
You must be signed in to change notification settings - Fork 34
/
variables.tf
51 lines (41 loc) · 1.27 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
variable "role_arn" {
description = "ARN of IAM role to be attached to Lambda Function."
}
variable "description" {
description = "Description of what your Lambda Function does."
}
variable "function_name" {
description = "A unique name for your Lambda Function"
}
variable "handler_name" {
description = "The function entrypoint in your code."
}
variable "memory_size" {
description = "Amount of memory in MB your Lambda Function can use at runtime."
default = "128"
}
variable "runtime" {
description = "runtime"
default = "python3.7"
}
variable "timeout" {
description = "The amount of time your Lambda Function has to run in seconds. Defaults to 5 minutes"
default = "300"
}
variable "source_code_path" {
description = "Path to the source file or directory containing your Lambda source code & requirements.txt if applicable"
}
variable "output_path" {
description = "Path to the function's deployment package within local filesystem. eg: /path/to/lambda.zip"
default = "lambda.zip"
}
variable "environment" {
description = "Environment configuration for the Lambda function"
type = map
default = {}
}
variable "dlc_target_arn" {
description = "Lambda function dead_letter_config target_arn"
type = string
default = null
}