Skip to content

Commit

Permalink
Add retention days
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronaldo Macapobre committed Aug 29, 2024
1 parent 0c9c9c0 commit 8046499
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion infrastructure/cloud/modules/monitoring/logs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ resource "aws_cloudwatch_log_group" "ecs_web_td_log_group" {
}

resource "aws_cloudwatch_log_group" "ecs_api_td_log_group" {
name = "/aws/ecs/${var.app_name}-ecs-api-td-log-group-${var.environment}"
name = "/aws/ecs/${var.app_name}-ecs-api-td-log-group-${var.environment}"
retention_in_days = 90

kms_key_id = var.kms_key_arn
}

0 comments on commit 8046499

Please sign in to comment.