-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
37 lines (29 loc) · 1020 Bytes
/
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
##### Variables for aws_lambda_function resource.
# The function_name, runtime, memory_size, and timeout use variables
# to facilitate testing of both new runtimes and new function versions.
# End users will ordinarily use the default values.
variable "function_name" {
description = "Name of the lambda function and role to be deployed"
default = "cloudwatch-to-splunk"
}
variable "memory_size" {
description = "Amount of memory in MB for lambda function"
default = 512
}
variable "runtime" {
description = "Lambda function's runtime environment"
default = "nodejs8.10"
}
variable "timeout" {
description = "Time limit in seconds for lambda function"
default = 10
}
variable "splunk_cache_ttl" {
description = "Time-to-live value for cached Splunk connection in milliseconds"
# Default cache TTL is 6 minutes.
default = 6000
}
variable "ssm_prefix" {
description = "Prefix string to be applied to look up runtime SSM variables)"
default = "/cloudwatch_to_splunk"
}