From 7458d077f1b9deaff32d2396f81090714e53b51d Mon Sep 17 00:00:00 2001 From: Ronaldo Macapobre Date: Mon, 26 Aug 2024 23:09:21 +0000 Subject: [PATCH] Revert back retention days --- infrastructure/cloud/modules/monitoring/logs.tf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/infrastructure/cloud/modules/monitoring/logs.tf b/infrastructure/cloud/modules/monitoring/logs.tf index aa98d4cc..d0a941a2 100644 --- a/infrastructure/cloud/modules/monitoring/logs.tf +++ b/infrastructure/cloud/modules/monitoring/logs.tf @@ -1,4 +1,6 @@ resource "aws_cloudwatch_log_group" "ecs_web_td_log_group" { - name = "/aws/ecs/${var.app_name}-ecs-web-td-log-group-${var.environment}" + name = "/aws/ecs/${var.app_name}-ecs-web-td-log-group-${var.environment}" + retention_in_days = 90 + kms_key_id = var.kms_key_arn }