From 2a7fc83816532e78384ddd41af9dec0108ca6024 Mon Sep 17 00:00:00 2001 From: Nikki Tebaldi <17799906+nikki-t@users.noreply.github.com> Date: Thu, 20 Jul 2023 14:55:23 +0000 Subject: [PATCH] Set log retention to infinite --- terraform/generate-cw.tf | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/terraform/generate-cw.tf b/terraform/generate-cw.tf index 5ee864a..8151077 100644 --- a/terraform/generate-cw.tf +++ b/terraform/generate-cw.tf @@ -3,44 +3,44 @@ # Downloader resource "aws_cloudwatch_log_group" "generate_cw_log_group_downloader" { name = "/aws/batch/job/${var.prefix}-downloader/" - retention_in_days = 120 + retention_in_days = 0 } resource "aws_cloudwatch_log_group" "generate_cw_log_group_downloader_error" { name = "/aws/batch/job/${var.prefix}-downloader-errors/" - retention_in_days = 120 + retention_in_days = 0 } # Combiner resource "aws_cloudwatch_log_group" "generate_cw_log_group_combiner" { name = "/aws/batch/job/${var.prefix}-combiner/" - retention_in_days = 120 + retention_in_days = 0 } resource "aws_cloudwatch_log_group" "generate_cw_log_group_combiner_error" { name = "/aws/batch/job/${var.prefix}-combiner-errors/" - retention_in_days = 120 + retention_in_days = 0 } # Processor resource "aws_cloudwatch_log_group" "generate_cw_log_group_processor" { name = "/aws/batch/job/${var.prefix}-processor/" - retention_in_days = 120 + retention_in_days = 0 } resource "aws_cloudwatch_log_group" "generate_cw_log_group_processor_error" { name = "/aws/batch/job/${var.prefix}-processor-errors/" - retention_in_days = 120 + retention_in_days = 0 } # Uploader resource "aws_cloudwatch_log_group" "generate_cw_log_group_uploader" { name = "/aws/batch/job/${var.prefix}-uploader/" - retention_in_days = 120 + retention_in_days = 0 } # CloudWatch Logs resource "aws_cloudwatch_log_group" "generate_cw_log_group_license_returner" { name = "/aws/batch/job/${var.prefix}-license-returner/" - retention_in_days = 120 + retention_in_days = 0 } \ No newline at end of file