Skip to content

Commit

Permalink
set new var log_configuration_driver to set logdriver
Browse files Browse the repository at this point in the history
  • Loading branch information
mohanisch-sixt authored Dec 6, 2024
1 parent d31b70b commit c9e7478
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ locals {
"environmentFiles" = var.task_container_environment_file
"MountPoints" = local.task_container_mount_points
"logConfiguration" = {
"logDriver" = "awslogs"
"logDriver" = var.log_configuration_driver
"options" = local.log_configuration_options
}
"privileged" : var.privileged
Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,12 @@ variable "log_multiline_pattern" {
type = string
}

variable "log_configuration_driver" {
description = "The log driver that the container definition will use."
default = "awslogs"
type = string
}

variable "health_check" {
description = "A health block containing health check settings for the target group. Overrides the defaults."
type = map(string)
Expand Down

0 comments on commit c9e7478

Please sign in to comment.