Skip to content

Commit

Permalink
add cloudwatch log retention period to ecs-deploy log_group (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrenarciso4 authored Feb 14, 2024
1 parent 4c8c335 commit 257856b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions terraform/ecs-deploy.tf
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,9 @@ resource "aws_dynamodb_table" "ecs-deploy" {

# cloudwatch log group
resource "aws_cloudwatch_log_group" "ecs-deploy" {
name = "ecs-deploy"
kms_key_id = var.cloudwatch_log_group_kms_arn
name = "ecs-deploy"
kms_key_id = var.cloudwatch_log_group_kms_arn
retention_in_days = var.cloudwatch_log_retention_period
}

#
Expand Down

0 comments on commit 257856b

Please sign in to comment.