forked from claranet/terraform-aws-lambda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
91 lines (76 loc) · 2.18 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
variable "function_name" {
description = "A unique name for your Lambda function (and related IAM resources)"
type = "string"
}
variable "handler" {
description = "The function entrypoint in your code"
type = "string"
}
variable "memory_size" {
description = "Amount of memory in MB your Lambda function can use at runtime"
type = "string"
default = 128
}
variable "reserved_concurrent_executions" {
description = "The amount of reserved concurrent executions for this Lambda function"
type = "string"
default = 0
}
variable "runtime" {
description = "The runtime environment for the Lambda function"
type = "string"
}
variable "timeout" {
description = "The amount of time your Lambda function had to run in seconds"
type = "string"
default = 10
}
variable "source_path" {
description = "The source file or directory containing your Lambda source code"
type = "string"
}
variable "description" {
description = "Description of what your Lambda function does"
type = "string"
default = "Managed by Terraform"
}
variable "environment" {
description = "Environment configuration for the Lambda function"
type = "map"
default = {}
}
variable "dead_letter_config" {
description = "Dead letter configuration for the Lambda function"
type = "map"
default = {}
}
variable "attach_dead_letter_config" {
description = "Set this to true if using the dead_letter_config variable"
type = "string"
default = false
}
variable "vpc_config" {
description = "VPC configuration for the Lambda function"
type = "map"
default = {}
}
variable "attach_vpc_config" {
description = "Set this to true if using the vpc_config variable"
type = "string"
default = false
}
variable "tags" {
description = "A mapping of tags"
type = "map"
default = {}
}
variable "policy" {
description = "An addional policy to attach to the Lambda function"
type = "string"
default = ""
}
variable "attach_policy" {
description = "Set this to true if using the policy variable"
type = "string"
default = false
}