From 27cc49fe910d61658af4d9542020cd0205afea62 Mon Sep 17 00:00:00 2001 From: Mukesh Kumar Date: Sat, 1 Jan 2022 20:35:47 +0530 Subject: [PATCH 1/2] Update local values definition The definition of local values used "it" many times, making the sentence not very clear. --- website/docs/language/values/locals.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/language/values/locals.mdx b/website/docs/language/values/locals.mdx index aa529f9fe..6706ad91d 100644 --- a/website/docs/language/values/locals.mdx +++ b/website/docs/language/values/locals.mdx @@ -12,8 +12,8 @@ description: >- > tutorial on HashiCorp Learn. A local value assigns a name to an [expression](/language/expressions), -so you can use it multiple times within a module without repeating -it. +so you can use the name multiple times within a module without repeating +the expression. If you're familiar with traditional programming languages, it can be useful to compare Terraform modules to function definitions: From 3ac334f267335d969ca3991d719c4489f7f62657 Mon Sep 17 00:00:00 2001 From: Mukesh Kumar Date: Fri, 7 Jan 2022 05:52:12 +0530 Subject: [PATCH 2/2] Update website/docs/language/values/locals.mdx Thank you. Your suggestion to use "instead of" makes the sentence even more easy to understand. Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com> --- website/docs/language/values/locals.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/language/values/locals.mdx b/website/docs/language/values/locals.mdx index 6706ad91d..dbcd9f615 100644 --- a/website/docs/language/values/locals.mdx +++ b/website/docs/language/values/locals.mdx @@ -12,7 +12,7 @@ description: >- > tutorial on HashiCorp Learn. A local value assigns a name to an [expression](/language/expressions), -so you can use the name multiple times within a module without repeating +so you can use the name multiple times within a module instead of repeating the expression. If you're familiar with traditional programming languages, it can be useful to