-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvariables.tf
74 lines (63 loc) · 1.64 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
# Common variables
variable "cluster_name" {
type = string
description = "EKS Cluster Name"
default = null
}
variable "aws_region" {
type = string
description = "Provide Cluster Region"
default = null
}
variable "namespace" {
type = string
description = "Name of the namespace"
default = "amazon-cloudwatch"
}
variable "nodegroup_roles" {
type = list(any)
description = "List of EKS nodegroup roles"
default = []
}
# Fluent Bit
variable "enable_fluent_bit" {
type = bool
description = "Enable or Disable Fluent-bit Agent on EKS cluster"
default = true
}
variable "fluent_bit_http_server" {
type = string
description = "Enable or Disable fluent bit HTTP server"
default = "On"
}
variable "fluent_bit_http_port" {
type = string
description = "Define fluent-bit HTTP Port"
default = "2020"
}
variable "fluent_bit_read_head" {
type = string
description = "Enable or Disable fluent-bit Head read"
default = "Off"
}
variable "fluent_bit_read_tail" {
type = string
description = "Enable or Disable fluent-bit Tail read"
default = "On"
}
variable "fluentbit_configmap_name" {
type = string
description = "Name of the ConfigMap for Fluent Bit"
default = "fluent-bit-cluster-info"
}
# CloudWatch Agent (CW Agent)
variable "enable_cwagent" {
type = bool
description = "Enable or Disable CloudWatch Agent on EKS cluster"
default = true
}
variable "cwagent_configmap_name" {
type = string
description = "Name of the ConfigMap for CloudWatch Agent"
default = "cwagentconfig"
}