From 533cbf4c3f5eecf662e9e47903518f55c90b8a28 Mon Sep 17 00:00:00 2001 From: Martin Atkins Date: Thu, 18 Apr 2019 09:03:34 -0700 Subject: [PATCH] website: Update "Local Values" docs to use v0.12 syntax in example There was some leftover v0.11-style interpolation syntax here. We prefer to use a "naked" expression in situations like this where the result isn't a string, because interpolations returning non-strings is a common source of confusion for new users. --- website/docs/configuration/locals.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/configuration/locals.html.md b/website/docs/configuration/locals.html.md index 236e93dfe..5d8c7569b 100644 --- a/website/docs/configuration/locals.html.md +++ b/website/docs/configuration/locals.html.md @@ -45,7 +45,7 @@ values from elsewhere in the module: ```hcl locals { # Ids for multiple sets of EC2 instances, merged together - instance_ids = "${concat(aws_instance.blue.*.id, aws_instance.green.*.id)}" + instance_ids = concat(aws_instance.blue.*.id, aws_instance.green.*.id) } locals {