Enable log retention for cloudwatch log groups (#387)

* enable log retention for cloudwatch log groups

* revert version bump

* set default retention to 90 days
This commit is contained in:
Yurii Polishchuk
2019-06-13 11:03:34 +03:00
committed by Max Williams
parent 758fdab1ee
commit bf5dae00e1
4 changed files with 16 additions and 0 deletions

View File

@@ -4,6 +4,11 @@ variable "cluster_enabled_log_types" {
type = "list"
}
variable "cluster_log_retention_in_days" {
default = "90"
description = "Number of days to retain log events. Default retention - 90 days."
}
variable "cluster_name" {
description = "Name of the EKS cluster. Also used as a prefix in names of related resources."
}