Skip to content

Commit

Permalink
add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
vertism committed Dec 11, 2023
1 parent fae7eeb commit bd7ad06
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions terraform/environments/cdpt-chaps/ecs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ resource "aws_ecs_task_definition" "chaps_task_definition" {
hostPort = 80
}
]
logConfiguration = {
logDriver = "awslogs",
options = {
awslogs-group = "${local.application_name}-ecs",
awslogs-region = "eu-west-2",
awslogs-stream-prefix = local.application_name
}
}
environment = [
]
}
Expand Down

0 comments on commit bd7ad06

Please sign in to comment.