From eb7a427fba73d569f9d34d66e3c7a3ef96927237 Mon Sep 17 00:00:00 2001 From: Lance Kind Date: Thu, 21 May 2020 19:11:09 -0700 Subject: [PATCH] Update locals.html.md I've just wasted an hour to two hours trying to find the problem to finally realize that although I declare a "locals" block, it's referred to as "local". This is pretty weird! So let's be be clear about this. --- website/docs/configuration/locals.html.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/configuration/locals.html.md b/website/docs/configuration/locals.html.md index 5d8c7569b..33452efd1 100644 --- a/website/docs/configuration/locals.html.md +++ b/website/docs/configuration/locals.html.md @@ -51,7 +51,7 @@ locals { locals { # Common tags to be assigned to all resources common_tags = { - Service = local.service_name + Service = local.service_name #notice it's "local," no "s." Owner = local.owner } } @@ -65,7 +65,7 @@ each other in order to build more complex values from simpler ones. resource "aws_instance" "example" { # ... - tags = local.common_tags + tags = local.common_tags #notice it's "local," no "s." } ```