HCL2: docs warn about the fact that HCL2 support is still Beta at the top of each docs page (#9113)
This commit is contained in:
parent
e71e5499f8
commit
e4df3b262b
|
@ -9,6 +9,10 @@ description: |-
|
||||||
|
|
||||||
# Expressions
|
# Expressions
|
||||||
|
|
||||||
|
-> **Note:** This page is about HCL2 in Packer 1.5 and later. HCL2 support for
|
||||||
|
Packer is still in Beta. For the old-style stable configuration language see
|
||||||
|
[template docs](/docs/templates).
|
||||||
|
|
||||||
_Expressions_ are used to refer to or compute values within a configuration.
|
_Expressions_ are used to refer to or compute values within a configuration.
|
||||||
The simplest expressions are just literal values, like `"hello"` or `5`, but
|
The simplest expressions are just literal values, like `"hello"` or `5`, but
|
||||||
HCL also allows more complex expressions such as references to data exported by
|
HCL also allows more complex expressions such as references to data exported by
|
||||||
|
|
|
@ -9,6 +9,10 @@ description: |-
|
||||||
|
|
||||||
# Built-in Functions
|
# Built-in Functions
|
||||||
|
|
||||||
|
-> **Note:** This page is about HCL2 in Packer 1.5 and later. HCL2 support for
|
||||||
|
Packer is still in Beta. For the old-style stable configuration language see
|
||||||
|
[template docs](/docs/templates).
|
||||||
|
|
||||||
The HCL language includes a number of built-in functions that you can
|
The HCL language includes a number of built-in functions that you can
|
||||||
call from within expressions to transform and combine values. The general
|
call from within expressions to transform and combine values. The general
|
||||||
syntax for function calls is a function name followed by comma-separated
|
syntax for function calls is a function name followed by comma-separated
|
||||||
|
|
|
@ -10,6 +10,10 @@ description: |-
|
||||||
|
|
||||||
# HCL Configuration Language
|
# HCL Configuration Language
|
||||||
|
|
||||||
|
-> **Note:** This page is about HCL2 in Packer 1.5 and later. HCL2 support for
|
||||||
|
Packer is still in Beta. For the old-style stable configuration language see
|
||||||
|
[template docs](/docs/templates).
|
||||||
|
|
||||||
Packer uses the Hashicorp Configuration Language - HCL - designed to allow
|
Packer uses the Hashicorp Configuration Language - HCL - designed to allow
|
||||||
concise descriptions of the required steps to get to a build file. This page
|
concise descriptions of the required steps to get to a build file. This page
|
||||||
describes the features of HCL2 exhaustively, if you would like to give a quick
|
describes the features of HCL2 exhaustively, if you would like to give a quick
|
||||||
|
|
|
@ -9,6 +9,10 @@ description: >-
|
||||||
|
|
||||||
# Local Values
|
# Local Values
|
||||||
|
|
||||||
|
-> **Note:** This page is about HCL2 in Packer 1.5 and later. HCL2 support for
|
||||||
|
Packer is still in Beta. For the old-style stable configuration language see
|
||||||
|
[template docs](/docs/templates).
|
||||||
|
|
||||||
Local values assign a name to an expression, that can then be used multiple
|
Local values assign a name to an expression, that can then be used multiple
|
||||||
times within a folder.
|
times within a folder.
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,12 @@ description: |-
|
||||||
|
|
||||||
# JSON Configuration Syntax
|
# JSON Configuration Syntax
|
||||||
|
|
||||||
|
-> **Note:** This page is about HCL2 in Packer 1.5 and later. Whilst HCL2
|
||||||
|
supports JSON the JSON - JSON and the HCL2 - JSON have differents formats for
|
||||||
|
Packer. HCL2 support for Packer is still in Beta. For the old-style stable
|
||||||
|
configuration language see [template
|
||||||
|
docs](/docs/templates).
|
||||||
|
|
||||||
Most Packer configurations are written in [the native HCL
|
Most Packer configurations are written in [the native HCL
|
||||||
syntax](/docs/from-1.5/syntax), which is designed to be easy for humans to read and
|
syntax](/docs/from-1.5/syntax), which is designed to be easy for humans to read and
|
||||||
update.
|
update.
|
||||||
|
|
|
@ -10,6 +10,10 @@ description: |-
|
||||||
|
|
||||||
# HCL Configuration Syntax
|
# HCL Configuration Syntax
|
||||||
|
|
||||||
|
-> **Note:** This page is about HCL2 in Packer 1.5 and later. HCL2 support for
|
||||||
|
Packer is still in Beta. For the old-style stable configuration language see
|
||||||
|
[template docs](/docs/templates).
|
||||||
|
|
||||||
Other pages in this section have described various configuration constructs
|
Other pages in this section have described various configuration constructs
|
||||||
that can appear in HCL. This page describes the lower-level syntax of the
|
that can appear in HCL. This page describes the lower-level syntax of the
|
||||||
language in more detail, revealing the building blocks that those constructs
|
language in more detail, revealing the building blocks that those constructs
|
||||||
|
|
|
@ -9,6 +9,10 @@ description: |-
|
||||||
|
|
||||||
# Input Variables
|
# Input Variables
|
||||||
|
|
||||||
|
-> **Note:** This page is about HCL2 in Packer 1.5 and later. HCL2 support for
|
||||||
|
Packer is still in Beta. For the old-style stable configuration language see
|
||||||
|
[template docs](/docs/templates).
|
||||||
|
|
||||||
Input variables serve as parameters for a Packer build, allowing aspects of the
|
Input variables serve as parameters for a Packer build, allowing aspects of the
|
||||||
build to be customized without altering the build's own source code.
|
build to be customized without altering the build's own source code.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue