generated from baikonur-oss/terraform-aws-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
71 lines (56 loc) · 1.63 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
variable "timezone" {
description = "tz database timezone name (e.g. Asia/Tokyo)"
default = "UTC"
}
variable "memory" {
description = "Lambda Function memory in megabytes"
default = 256
}
variable "timeout" {
description = "Lambda Function timeout in seconds"
default = 60
}
variable "elasticsearch_host" {
description = "Elasticsearch Service endpoint (without https://)"
}
variable "elasticsearch_arn" {
description = "Elasticsearch Service ARN"
}
variable "lambda_package_url" {
description = "Lambda package URL (see Usage in README)"
}
variable "handler" {
description = "Lambda Function handler (entrypoint)"
default = "main.handler"
}
variable "runtime" {
description = "Lambda Function runtime"
default = "python3.7"
}
variable "name" {
description = "Resource name"
}
variable "max_age_days" {
description = "retention period of Elasticsearch Service index (days). Older indexes will be removed."
default = "60"
}
variable "dry_run_only" {
description = "Dry run option for testing purpose"
default = "false"
}
variable "schedule_expression" {
description = "Lambda Schedule Expressions for Rules (https://docs.aws.amazon.com/ja_jp/AmazonCloudWatch/latest/events/ScheduledEvents.html)"
}
variable "tracing_mode" {
description = "X-Ray tracing mode (see: https://docs.aws.amazon.com/lambda/latest/dg/API_TracingConfig.html )"
default = "PassThrough"
}
variable "tags" {
description = "Tags for Lambda Function"
type = map(string)
default = {}
}
variable "log_retention_in_days" {
description = "Lambda Function log retention in days"
default = 30
}