From 895a8a43b2054e786098441acdf169c5e294d490 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 74c90b94e0..61859bebec 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