Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit 86e6abc

Browse files
authored
fix: set log retention in each module by default to 180 (#3433)
Top level module has set log retention to 180 days. This PR's ensure that each module is applying the same default.
1 parent 446dfec commit 86e6abc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

modules/multi-runner/variables.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ variable "role_path" {
224224
variable "logging_retention_in_days" {
225225
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."
226226
type = number
227-
default = 7
227+
default = 180
228228
}
229229

230230
variable "logging_kms_key_id" {

modules/runner-binaries-syncer/variables.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ variable "runner_architecture" {
119119
variable "logging_retention_in_days" {
120120
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."
121121
type = number
122-
default = 7
122+
default = 180
123123
}
124124

125125
variable "logging_kms_key_id" {

modules/webhook/variables.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ variable "role_path" {
8080
variable "logging_retention_in_days" {
8181
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."
8282
type = number
83-
default = 7
83+
default = 180
8484
}
8585

8686
variable "logging_kms_key_id" {

0 commit comments

Comments
 (0)