File tree Expand file tree Collapse file tree
templates/terraform/modules/environment Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,27 +83,33 @@ variable "logging_type" {
8383 }
8484}
8585
86+ # The following have default values specified in case logging_type is not set to "kibana", in which case they are not necessary.
8687variable "logging_es_version" {
8788 description = " The version of elasticsearch to use"
89+ default = " 7.7"
8890}
8991
9092variable "logging_az_count" {
9193 description = " The number of availability zones to use for the cluster. More is more higly available but requires more instances, which increases cost"
9294 type = number
95+ default = 1
9396}
9497
9598variable "logging_es_instance_type" {
9699 description = " Instance type for nodes"
100+ default = " m3.medium.elasticsearch"
97101}
98102
99103variable "logging_es_instance_count" {
100- description = " Number of nodes in the cluster. Must be a multiple of the number of"
104+ description = " Number of nodes in the cluster. Must be a multiple of the number of availability zones "
101105 type = number
106+ default = 1
102107}
103108
104109variable "logging_volume_size_in_gb" {
105110 description = " Size of EBS volume (in GB) to attach to *each* of the nodes in the cluster. The maximum size is limited by the size of the instance"
106111 type = number
112+ default = 10
107113}
108114
109115variable "enable_cluster_logging" {
You can’t perform that action at this time.
0 commit comments