From cc95649930bb84b9d0157f844df02929c89ead79 Mon Sep 17 00:00:00 2001 From: dubo-dubon-duponey Date: Sun, 13 Oct 2019 14:38:03 -0400 Subject: [PATCH] Updated logdrivers to match docker officially supported options (#207) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #204 See https://docs.docker.com/config/containers/logging/configure/ section “Supported“ logging drivers Signed-off-by: dubo-dubon-duponey --- docker/resource_docker_container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/resource_docker_container.go b/docker/resource_docker_container.go index c1fa470b..5ff4091a 100644 --- a/docker/resource_docker_container.go +++ b/docker/resource_docker_container.go @@ -574,7 +574,7 @@ func resourceDockerContainer() *schema.Resource { Optional: true, ForceNew: true, Default: "json-file", - ValidateFunc: validateStringMatchesPattern(`^(json-file|syslog|journald|gelf|fluentd|awslogs)$`), + ValidateFunc: validateStringMatchesPattern(`^(none|local|json-file|syslog|journald|gelf|fluentd|awslogs|splunk|etwlogs|gcplogs|logentries)$`), }, "log_opts": {