Skip to content

Commit f4f7595

Browse files
authored
Merge pull request #37366 from Mohitkumar6122/patch-1
Update templates-writing-parameters.adoc
2 parents 6e787aa + 52e79b5 commit f4f7595

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/templates-writing-parameters.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ Parameters allow a value to be supplied by you or generated when the template is
99

1010
* As a string value by placing values in the form `${PARAMETER_NAME}` in any string field in the template.
1111

12-
* As a JSON or YAML value by placing values in the form `${PARAMETER_NAME}` in place of any field in the template.
12+
* As a JSON or YAML value by placing values in the form `${{PARAMETER_NAME}}` in place of any field in the template.
1313

1414
When using the `${PARAMETER_NAME}` syntax, multiple parameter references can be combined in a single field and the reference can be embedded within fixed data, such as `"http://${PARAMETER_1}${PARAMETER_2}"`. Both parameter values are substituted and the resulting value is a quoted string.
1515

16-
When using the `${PARAMETER_NAME}` syntax only a single parameter reference is allowed and leading and trailing characters are not permitted. The resulting value is unquoted unless, after substitution is performed, the result is not a valid JSON object. If the result is not a valid JSON value, the resulting value is quoted and treated as a standard string.
16+
When using the `${{PARAMETER_NAME}}` syntax only a single parameter reference is allowed and leading and trailing characters are not permitted. The resulting value is unquoted unless, after substitution is performed, the result is not a valid JSON object. If the result is not a valid JSON value, the resulting value is quoted and treated as a standard string.
1717

1818
A single parameter can be referenced multiple times within a template and it can be referenced using both substitution syntaxes within a single template.
1919

0 commit comments

Comments
 (0)