From 1c88dc15ef9c77daef0c036ead890c71f91a717b Mon Sep 17 00:00:00 2001 From: Blake Covarrubias Date: Tue, 11 Feb 2020 01:47:21 -0800 Subject: [PATCH] docs: document format for TTL values in Consul config (#6693) --- website/source/docs/agent/options.html.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/source/docs/agent/options.html.md b/website/source/docs/agent/options.html.md index 74c90b94e..61859bebe 100644 --- a/website/source/docs/agent/options.html.md +++ b/website/source/docs/agent/options.html.md @@ -565,6 +565,12 @@ default will automatically work with some tooling. #### Configuration Key Reference +-> **Note:** All the TTL values described below are parsed by Go's `time` package, and have the following +[formatting specification](https://golang.org/pkg/time/#ParseDuration): "A +duration string is a possibly signed sequence of decimal numbers, each with +optional fraction and a unit suffix, such as '300ms', '-1.5h' or '2h45m'. +Valid time units are 'ns', 'us' (or 'µs'), 'ms', 's', 'm', 'h'." + * `acl` - This object allows a number of sub-keys to be set which controls the ACL system. Configuring the ACL system within the ACL stanza was added in Consul 1.4.0