Skip to content

Commit

Permalink
fix: Missing field LogConfiguration.LogDriver error when enable_cloud…
Browse files Browse the repository at this point in the history
…watch_logging is false (#91)
  • Loading branch information
alisson276 committed Jun 3, 2023
1 parent dee59b7 commit 8ca6fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/container-definition/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ locals {
interactive = var.interactive
links = local.is_not_windows && length(var.links) > 0 ? var.links : null
linuxParameters = local.is_not_windows && length(var.linux_parameters) > 0 ? var.linux_parameters : null
logConfiguration = local.log_configuration
logConfiguration = length(local.log_configuration) > 0 ? local.log_configuration : null
memory = var.memory
memoryReservation = var.memory_reservation
mountPoints = length(var.mount_points) > 0 ? var.mount_points : null
Expand Down

0 comments on commit 8ca6fd4

Please sign in to comment.