Skip to content

Commit

Permalink
Merge pull request #3220 from ministryofjustice/cw-logging
Browse files Browse the repository at this point in the history
Set Logging Validity to 1
  • Loading branch information
harichintala1 authored Aug 25, 2023
2 parents 03c698d + 4b88a6c commit 2b60012
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions terraform/environments/digital-prison-reporting/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ module "datamart" {
logging = {
enable = true
log_destination_type = "cloudwatch"
retention_period = 1
log_exports = ["useractivitylog", "userlog", "connectionlog"]
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ variable "security_configuration_s3_encryption" {

variable "log_group_retention_in_days" {
type = number
default = 7
default = 1
description = "(Optional) The default number of days log events retained in the glue job log group."
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ variable "handler" {
variable "log_retention_in_days" {
description = "Log retention in number of days."
type = number
default = 14
default = 1
}

variable "memory_size" {
Expand Down

0 comments on commit 2b60012

Please sign in to comment.