Skip to content

Commit

Permalink
Add Datadog log group
Browse files Browse the repository at this point in the history
  • Loading branch information
mannykary committed Jun 28, 2020
1 parent 1a8f692 commit d2abd3b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions terraform-task-module/logging.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@ resource "aws_cloudwatch_log_group" "client" {
name = "/ecs/${var.subdomain}-client"
retention_in_days = 1
}
resource "aws_cloudwatch_log_group" "datadog-agent" {
count = var.fp_context == "production" ? 1 : 0
name = "/ecs/${var.subdomain}-datadog"
retention_in_days = 1
}

0 comments on commit d2abd3b

Please sign in to comment.