You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description="The path to the function's deployment package within the local filesystem. Exactly one of filename or s3_bucket must be specified."
45
50
default=null
51
+
description="The path to the function's deployment package within the local filesystem. Exactly one of filename or s3_bucket must be specified."
46
52
}
47
53
48
54
variable"s3_bucket" {
49
55
type=string
56
+
default=null
50
57
description=<<EOF
51
58
The S3 bucket location containing the function's deployment package. Exactly one of filename or s3_bucket must be specified.
52
59
This bucket must reside in the same AWS region where you are creating the Lambda function.
53
60
EOF
54
-
default=null
55
61
}
56
62
57
63
variable"s3_key" {
58
64
type=string
59
-
description="The S3 key of an object containing the function's deployment package. Only if s3_bucket is specified."
60
65
default=null
66
+
description="The S3 key of an object containing the function's deployment package. Only if s3_bucket is specified."
61
67
}
62
68
63
69
variable"s3_object_version" {
64
70
type=string
65
-
description="The object version containing the function's deployment package. Only if s3_bucket is specified."
66
71
default=null
72
+
description="The object version containing the function's deployment package. Only if s3_bucket is specified."
67
73
}
68
74
69
75
variable"function_name" {
@@ -73,84 +79,84 @@ variable "function_name" {
73
79
74
80
variable"description" {
75
81
type=string
76
-
description="Description of what the Lambda Function does."
77
82
default=null
83
+
description="Description of what the Lambda Function does."
78
84
}
79
85
80
86
variable"architectures" {
81
87
type=list(string)
88
+
default=null
82
89
description=<<EOF
83
90
Instruction set architecture for the Lambda function. Valid values are ["x86_64"] and ["arm64"].
84
91
Default is ["x86_64"].
85
92
EOF
86
-
default=null
87
93
}
88
94
89
95
variable"handler" {
90
96
type=string
91
-
description="The function entrypoint in your code."
92
97
default=null
98
+
description="The function entrypoint in your code."
93
99
}
94
100
95
101
variable"memory_size" {
96
102
type=number
97
-
description="Amount of memory in MB the Lambda Function can use at runtime."
98
103
default=128
104
+
description="Amount of memory in MB the Lambda Function can use at runtime."
99
105
}
100
106
101
107
variable"ephemeral_storage_size" {
102
108
type=number
109
+
default=null
103
110
description=<<EOF
104
111
The size of the Lambda function Ephemeral storage (/tmp) represented in MB.
105
112
The minimum supported ephemeral_storage value defaults to 512MB and the maximum supported value is 10240MB.
106
113
EOF
107
-
default=null
108
114
}
109
115
110
116
variable"reserved_concurrent_executions" {
111
117
type=number
112
-
description="The amount of reserved concurrent executions for this lambda function. A value of 0 disables lambda from being triggered and -1 removes any concurrency limitations."
113
118
default=-1
119
+
description="The amount of reserved concurrent executions for this lambda function. A value of 0 disables lambda from being triggered and -1 removes any concurrency limitations."
114
120
}
115
121
116
122
variable"runtime" {
117
123
type=string
118
-
description="The runtime environment for the Lambda function you are uploading."
119
124
default=null
125
+
description="The runtime environment for the Lambda function you are uploading."
120
126
}
121
127
122
128
variable"timeout" {
123
129
type=number
124
-
description="The amount of time the Lambda Function has to run in seconds."
125
130
default=3
131
+
description="The amount of time the Lambda Function has to run in seconds."
126
132
}
127
133
128
134
variable"layers" {
129
135
type=list(string)
130
-
description="List of Lambda Layer Version ARNs (maximum of 5) to attach to the Lambda Function."
131
136
default=[]
137
+
description="List of Lambda Layer Version ARNs (maximum of 5) to attach to the Lambda Function."
132
138
}
133
139
134
140
variable"cloudwatch_logs_retention_in_days" {
135
141
type=number
142
+
default=null
136
143
description=<<EOF
137
144
Specifies the number of days you want to retain log events in the specified log group. Possible values are:
138
145
1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 3653, and 0. If you select 0, the events in the
139
146
log group are always retained and never expire.
140
147
EOF
141
-
default=null
142
148
}
143
149
144
150
variable"lambda_environment" {
145
151
type=object({
146
152
variables =map(string)
147
153
})
148
-
description="Map of environment variables that are accessible from the function code during execution. If provided at least one key must be present."
149
154
default=null
155
+
description="Map of environment variables that are accessible from the function code during execution. If provided at least one key must be present."
150
156
}
151
157
152
158
variable"custom_iam_policy_arns" {
153
159
type=set(string)
154
-
description="ARNs of custom policies to be attached to the lambda role"
155
160
default=[]
161
+
description="ARNs of custom policies to be attached to the lambda role"
0 commit comments