From 14e6f6e4ce9e794f7f5af7bd4d1734afb9746685 Mon Sep 17 00:00:00 2001 From: Radek Simko Date: Sun, 7 Feb 2016 20:28:58 +0000 Subject: [PATCH] docs: Clarify example usage of the signum function --- website/source/docs/configuration/interpolation.html.md | 1 + 1 file changed, 1 insertion(+) diff --git a/website/source/docs/configuration/interpolation.html.md b/website/source/docs/configuration/interpolation.html.md index 878f1dbc46..a5b5fd909f 100644 --- a/website/source/docs/configuration/interpolation.html.md +++ b/website/source/docs/configuration/interpolation.html.md @@ -177,6 +177,7 @@ The supported built-in functions are: This function is useful when you need to set a value for the first resource and a different value for the rest of the resources. Example: `element(split(",", var.r53_failover_policy), signum(count.index))` + where the 0th index points to `PRIMARY` and 1st to `FAILOVER` * `split(delim, string)` - Splits the string previously created by `join` back into a list. This is useful for pushing lists through module