From 56ec897a8401c9596f701e28855d4b4fcc2f94ae Mon Sep 17 00:00:00 2001 From: James O'Beirne Date: Fri, 8 May 2015 14:58:01 -0700 Subject: [PATCH] Fix typo. --- website/source/docs/modules/usage.html.markdown | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/website/source/docs/modules/usage.html.markdown b/website/source/docs/modules/usage.html.markdown index e2a224981d..960f097695 100644 --- a/website/source/docs/modules/usage.html.markdown +++ b/website/source/docs/modules/usage.html.markdown @@ -66,14 +66,18 @@ desirable to parameterize a module's resource with an attribute that is of the list type, for example `aws_instance.security_groups`. Until a future release broadens the functionality of variables to include list -types, the way to work around this limitation is to use the [`split` and -`join`](/docs/configuration/interpolation.html) string interpolation functions -to pass a delimited string as a module parameter, and then "unpack" that -parameter using `split` within the module definition. +types, the way to work around this limitation is to pass a delimited string as +a module parameter, and then "unpack" that parameter using +[`split`](/docs/configuration/interpolation.html) interpolation function within +the module definition. Depending on the resource parameter in question, you may have to -indicate that the unpacked string is actually a list but using the -`resource_param = ["${split(",", var.CSV_STRING)}"]` notation. +indicate that the unpacked string is actually a list by using list notation. +For example: + +``` +resource_param = ["${split(",", var.CSV_STRING)}"] +``` ## Outputs