-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
63 lines (53 loc) · 1.47 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
variable "doctype" {
type = string
description = "doctype"
default = "alb-access-logs"
}
variable "es_endpoint" {
type = string
description = "AWS elasticsearch endpoint. Without http:// or https:// "
}
variable "index" {
type = string
description = "Index to create. adds a timestamp to index. Example: alblogs-2016.03.31"
default = "alblogs"
}
variable "lambda_function_filename" {
type = string
description = "Filename with the lambda's source code"
default = ""
}
variable "nodejs_version" {
type = string
description = "Nodejs version to be used"
default = "14.x"
}
variable "prefix" {
type = string
description = "A prefix for the resource names, this helps create multiple instances of this stack for different environments"
default = ""
}
variable "region" {
type = string
description = "AWS region"
}
variable "s3_bucket_arn" {
type = string
description = "The arn of the s3 bucket containing the alb logs"
}
variable "s3_bucket_id" {
type = string
description = "The id of the s3 bucket containing the alb logs"
}
variable "subnet_ids" {
description = "Subnet IDs you want to deploy the lambda in. Only fill this in if you want to deploy your Lambda function inside a VPC."
type = list(string)
default = []
}
variable "tags" {
type = map(string)
description = "Tags to apply"
default = {
Name = "alb-logs-to-es"
}
}