Skip to content

Commit

Permalink
add log configuration back in
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-k1998 committed Oct 13, 2023
1 parent a1345ff commit a743387
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions terraform/environments/wardship/ecs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ resource "aws_ecs_task_definition" "wardship_task_definition" {
hostPort = 80
}
]
logConfiguration = {
logDriver = "awslogs"
options = {
awslogs-group = "${aws_cloudwatch_log_group.deployment_logs.name}"
awslogs-region = "eu-west-2"
awslogs-stream-prefix = "ecs"
}
}
environment = [
{
name = "RDS_HOSTNAME"
Expand Down

0 comments on commit a743387

Please sign in to comment.