From 195543ef0c6b9adc4bc9c13feb4a5d515eafda0a Mon Sep 17 00:00:00 2001 From: Niek Palm Date: Tue, 15 Aug 2023 18:25:11 +0200 Subject: [PATCH] fix: set log retention in each module by default to 180 --- modules/multi-runner/variables.tf | 2 +- modules/runner-binaries-syncer/variables.tf | 2 +- modules/webhook/variables.tf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/multi-runner/variables.tf b/modules/multi-runner/variables.tf index 4f10a462c1..757bb7b746 100644 --- a/modules/multi-runner/variables.tf +++ b/modules/multi-runner/variables.tf @@ -224,7 +224,7 @@ variable "role_path" { variable "logging_retention_in_days" { description = "Specifies the number of days you want to retain log events for the lambda log group. Possible values are: 0, 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653." type = number - default = 7 + default = 180 } variable "logging_kms_key_id" { diff --git a/modules/runner-binaries-syncer/variables.tf b/modules/runner-binaries-syncer/variables.tf index 9ee2e677bc..b0f254c480 100644 --- a/modules/runner-binaries-syncer/variables.tf +++ b/modules/runner-binaries-syncer/variables.tf @@ -119,7 +119,7 @@ variable "runner_architecture" { variable "logging_retention_in_days" { description = "Specifies the number of days you want to retain log events for the lambda log group. Possible values are: 0, 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653." type = number - default = 7 + default = 180 } variable "logging_kms_key_id" { diff --git a/modules/webhook/variables.tf b/modules/webhook/variables.tf index a8f25e587a..a79f311314 100644 --- a/modules/webhook/variables.tf +++ b/modules/webhook/variables.tf @@ -80,7 +80,7 @@ variable "role_path" { variable "logging_retention_in_days" { description = "Specifies the number of days you want to retain log events for the lambda log group. Possible values are: 0, 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653." type = number - default = 7 + default = 180 } variable "logging_kms_key_id" {