From 46ce0529dda37981a674eb40e03cdd7ed10d42f1 Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Thu, 19 Dec 2019 16:23:30 +0100 Subject: [PATCH] docs ++ --- ...expression.html.md => expressions.html.md} | 38 +++++++------------ .../from-1.5/syntax-json.html.md | 2 +- .../configuration/from-1.5/syntax.html.md | 4 +- website/source/layouts/docs.erb | 2 +- 4 files changed, 17 insertions(+), 29 deletions(-) rename website/source/docs/configuration/from-1.5/{expression.html.md => expressions.html.md} (89%) diff --git a/website/source/docs/configuration/from-1.5/expression.html.md b/website/source/docs/configuration/from-1.5/expressions.html.md similarity index 89% rename from website/source/docs/configuration/from-1.5/expression.html.md rename to website/source/docs/configuration/from-1.5/expressions.html.md index 1d32445f5..8c2069a26 100644 --- a/website/source/docs/configuration/from-1.5/expression.html.md +++ b/website/source/docs/configuration/from-1.5/expressions.html.md @@ -135,19 +135,7 @@ The following named values are available: * `source..` is an object representing a [source](./sources.html) of the given type - and name. The attributes of the source can be accessed using - [dot or square bracket notation][inpage-index]. - - Any named value that does not match another pattern listed below - will be interpreted by Packer as a reference to a managed source. - -### Named Values and Dependencies - -Constructs like resources and module calls often use references to named values -in their block bodies, and Packer analyzes these expressions to automatically -infer dependencies between objects. For example, an expression in a source -argument that refers to another managed source creates an implicit dependency -between the two resources. + and name. ## String Literals @@ -166,24 +154,24 @@ sequence, with the following characters selecting the escape behavior: | `\uNNNN` | Unicode character from the basic multilingual plane (NNNN is four hex digits) | | `\UNNNNNNNN` | Unicode character from supplementary planes (NNNNNNNN is eight hex digits) | -The alternative syntax for string literals is the so-called "heredoc" style, -inspired by Unix shell languages. This style allows multi-line strings to -be expressed more clearly by using a custom delimiter word on a line of its -own to close the string: +The alternative syntax for string literals is the so-called Here Documents or +"heredoc" style, inspired by Unix shell languages. This style allows multi-line +strings to be expressed more clearly by using a custom delimiter word on a line +of its own to close the string: ```hcl -<Syntax > - Expressions + Expressions > JSON Syntax