Skip to content

Commit

Permalink
Merge pull request #33 from transcend-io/dmattia/log_config_default
Browse files Browse the repository at this point in the history
Set default for log_configuration
  • Loading branch information
dmattia authored Oct 24, 2020
2 parents 55a07d2 + e7795a7 commit 05c5fe1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,10 @@ variable log_configuration {
logDriver = string
options = map(string)
})
default = {
logDriver = "awslogs"
options = {}
}
description = <<EOF
Log configuration options to send to a custom log driver for the container.
For more details, see https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_LogConfiguration.html
Expand All @@ -290,7 +294,6 @@ variable log_configuration {
Use log_secrets to set extra options here that should be secret, such as API keys for third party loggers.
EOF
default = null
}

variable log_secrets {
Expand Down

0 comments on commit 05c5fe1

Please sign in to comment.