website: Language: Remove the "this is 0.12+" message from language docs

The sun has set on 0.11, so the value of maintaining this message on nearly
every page has crashed to almost zero. Time to pull it.
This commit is contained in:
Nick Fagerlund 2021-01-15 14:28:57 -08:00
parent 81f95619c4
commit 22d7c11d8a
121 changed files with 1 additions and 486 deletions

View File

@ -5,10 +5,6 @@ page_title: "Backend Configuration - Configuration Language"
# Backend Configuration # Backend Configuration
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Terraform Settings](../configuration-0-11/terraform.html).
Each Terraform configuration can specify a backend, which defines exactly where Each Terraform configuration can specify a backend, which defines exactly where
and how operations are performed, where [state](/docs/state/index.html) and how operations are performed, where [state](/docs/state/index.html)

View File

@ -8,10 +8,6 @@ description: |-
# Module Blocks # Module Blocks
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Modules](/docs/configuration-0-11/modules.html).
> **Hands-on:** Try the [Reuse Configuration with Modules](https://learn.hashicorp.com/collections/terraform/modules?utm_source=WEBSITE&utm_medium=WEB_IO&utm_offer=ARTICLE_PAGE&utm_content=DOCS) collection on HashiCorp Learn. > **Hands-on:** Try the [Reuse Configuration with Modules](https://learn.hashicorp.com/collections/terraform/modules?utm_source=WEBSITE&utm_medium=WEB_IO&utm_offer=ARTICLE_PAGE&utm_content=DOCS) collection on HashiCorp Learn.
A _module_ is a container for multiple resources that are used together. A _module_ is a container for multiple resources that are used together.

View File

@ -10,10 +10,6 @@ description: |-
# Resource Blocks # Resource Blocks
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Resources](/docs/configuration-0-11/resources.html).
> **Hands-on:** Try the [Terraform: Get Started](https://learn.hashicorp.com/collections/terraform/aws-get-started?utm_source=WEBSITE&utm_medium=WEB_IO&utm_offer=ARTICLE_PAGE&utm_content=DOCS) collection on HashiCorp Learn. > **Hands-on:** Try the [Terraform: Get Started](https://learn.hashicorp.com/collections/terraform/aws-get-started?utm_source=WEBSITE&utm_medium=WEB_IO&utm_offer=ARTICLE_PAGE&utm_content=DOCS) collection on HashiCorp Learn.
_Resources_ are the most important element in the Terraform language. _Resources_ are the most important element in the Terraform language.

View File

@ -8,10 +8,6 @@ description: |-
# Data Sources # Data Sources
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Data Sources](../configuration-0-11/data-sources.html).
_Data sources_ allow data to be fetched or computed for use elsewhere _Data sources_ allow data to be fetched or computed for use elsewhere
in Terraform configuration. Use of data sources allows a Terraform in Terraform configuration. Use of data sources allows a Terraform
configuration to make use of information defined outside of Terraform, configuration to make use of information defined outside of Terraform,

View File

@ -9,10 +9,6 @@ description: |-
# Built-in Functions # Built-in Functions
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../configuration-0-11/interpolation.html).
> **Hands-on:** Try the [Perform Dynamic Operations with Functions](https://learn.hashicorp.com/tutorials/terraform/functions?in=terraform/configuration-language&utm_source=WEBSITE&utm_medium=WEB_IO&utm_offer=ARTICLE_PAGE&utm_content=DOCS) tutorial on HashiCorp Learn. > **Hands-on:** Try the [Perform Dynamic Operations with Functions](https://learn.hashicorp.com/tutorials/terraform/functions?in=terraform/configuration-language&utm_source=WEBSITE&utm_medium=WEB_IO&utm_offer=ARTICLE_PAGE&utm_content=DOCS) tutorial on HashiCorp Learn.
The Terraform language includes a number of built-in functions that you can The Terraform language includes a number of built-in functions that you can

View File

@ -8,10 +8,6 @@ description: |-
# `abs` Function # `abs` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`abs` returns the absolute value of the given number. In other words, if the `abs` returns the absolute value of the given number. In other words, if the
number is zero or positive then it is returned as-is, but if it is negative number is zero or positive then it is returned as-is, but if it is negative
then it is multiplied by -1 to make it positive before returning it. then it is multiplied by -1 to make it positive before returning it.

View File

@ -8,10 +8,6 @@ description: |-
# `abspath` Function # `abspath` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`abspath` takes a string containing a filesystem path and converts it `abspath` takes a string containing a filesystem path and converts it
to an absolute path. That is, if the path is not absolute, it will be joined to an absolute path. That is, if the path is not absolute, it will be joined
with the current working directory. with the current working directory.

View File

@ -8,10 +8,6 @@ description: |-
# `base64decode` Function # `base64decode` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`base64decode` takes a string containing a Base64 character sequence and `base64decode` takes a string containing a Base64 character sequence and
returns the original string. returns the original string.

View File

@ -8,10 +8,6 @@ description: |-
# `base64encode` Function # `base64encode` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`base64encode` applies Base64 encoding to a string. `base64encode` applies Base64 encoding to a string.
Terraform uses the "standard" Base64 alphabet as defined in Terraform uses the "standard" Base64 alphabet as defined in

View File

@ -9,10 +9,6 @@ description: |-
# `base64gzip` Function # `base64gzip` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`base64gzip` compresses a string with gzip and then encodes the result in `base64gzip` compresses a string with gzip and then encodes the result in
Base64 encoding. Base64 encoding.

View File

@ -9,10 +9,6 @@ description: |-
# `base64sha256` Function # `base64sha256` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`base64sha256` computes the SHA256 hash of a given string and encodes it with `base64sha256` computes the SHA256 hash of a given string and encodes it with
Base64. This is not equivalent to `base64encode(sha256("test"))` since `sha256()` Base64. This is not equivalent to `base64encode(sha256("test"))` since `sha256()`
returns hexadecimal representation. returns hexadecimal representation.

View File

@ -9,10 +9,6 @@ description: |-
# `base64sha512` Function # `base64sha512` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`base64sha512` computes the SHA512 hash of a given string and encodes it with `base64sha512` computes the SHA512 hash of a given string and encodes it with
Base64. This is not equivalent to `base64encode(sha512("test"))` since `sha512()` Base64. This is not equivalent to `base64encode(sha512("test"))` since `sha512()`
returns hexadecimal representation. returns hexadecimal representation.

View File

@ -9,10 +9,6 @@ description: |-
# `basename` Function # `basename` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`basename` takes a string containing a filesystem path and removes all except `basename` takes a string containing a filesystem path and removes all except
the last portion from it. the last portion from it.

View File

@ -9,10 +9,6 @@ description: |-
# `bcrypt` Function # `bcrypt` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`bcrypt` computes a hash of the given string using the Blowfish cipher, `bcrypt` computes a hash of the given string using the Blowfish cipher,
returning a string in returning a string in
[the _Modular Crypt Format_](https://passlib.readthedocs.io/en/stable/modular_crypt_format.html) [the _Modular Crypt Format_](https://passlib.readthedocs.io/en/stable/modular_crypt_format.html)

View File

@ -9,10 +9,6 @@ description: |-
# `can` Function # `can` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`can` evaluates the given expression and returns a boolean value indicating `can` evaluates the given expression and returns a boolean value indicating
whether the expression produced a result without any errors. whether the expression produced a result without any errors.

View File

@ -9,10 +9,6 @@ description: |-
# `ceil` Function # `ceil` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`ceil` returns the closest whole number that is greater than or equal to the `ceil` returns the closest whole number that is greater than or equal to the
given value, which may be a fraction. given value, which may be a fraction.

View File

@ -8,10 +8,6 @@ description: |-
# `chomp` Function # `chomp` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`chomp` removes newline characters at the end of a string. `chomp` removes newline characters at the end of a string.
This can be useful if, for example, the string was read from a file that has This can be useful if, for example, the string was read from a file that has

View File

@ -9,10 +9,6 @@ description: |-
# `chunklist` Function # `chunklist` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`chunklist` splits a single list into fixed-size chunks, returning a list `chunklist` splits a single list into fixed-size chunks, returning a list
of lists. of lists.

View File

@ -9,10 +9,6 @@ description: |-
# `cidrhost` Function # `cidrhost` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`cidrhost` calculates a full host IP address for a given host number within `cidrhost` calculates a full host IP address for a given host number within
a given IP network address prefix. a given IP network address prefix.

View File

@ -9,10 +9,6 @@ description: |-
# `cidrnetmask` Function # `cidrnetmask` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`cidrnetmask` converts an IPv4 address prefix given in CIDR notation into `cidrnetmask` converts an IPv4 address prefix given in CIDR notation into
a subnet mask address. a subnet mask address.

View File

@ -9,10 +9,6 @@ description: |-
# `cidrsubnet` Function # `cidrsubnet` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`cidrsubnet` calculates a subnet address within given IP network address prefix. `cidrsubnet` calculates a subnet address within given IP network address prefix.
```hcl ```hcl

View File

@ -9,10 +9,6 @@ description: |-
# `cidrsubnets` Function # `cidrsubnets` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`cidrsubnets` calculates a sequence of consecutive IP address ranges within `cidrsubnets` calculates a sequence of consecutive IP address ranges within
a particular CIDR prefix. a particular CIDR prefix.

View File

@ -9,10 +9,6 @@ description: |-
# `coalesce` Function # `coalesce` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`coalesce` takes any number of arguments and returns the first one `coalesce` takes any number of arguments and returns the first one
that isn't null or an empty string. that isn't null or an empty string.

View File

@ -9,10 +9,6 @@ description: |-
# `coalescelist` Function # `coalescelist` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`coalescelist` takes any number of list arguments and returns the first one `coalescelist` takes any number of list arguments and returns the first one
that isn't empty. that isn't empty.

View File

@ -8,10 +8,6 @@ description: |-
# `compact` Function # `compact` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`compact` takes a list of strings and returns a new list with any empty string `compact` takes a list of strings and returns a new list with any empty string
elements removed. elements removed.

View File

@ -8,10 +8,6 @@ description: |-
# `concat` Function # `concat` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`concat` takes two or more lists and combines them into a single list. `concat` takes two or more lists and combines them into a single list.
## Examples ## Examples

View File

@ -8,10 +8,6 @@ description: |-
# `contains` Function # `contains` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`contains` determines whether a given list or set contains a given single value `contains` determines whether a given list or set contains a given single value
as one of its elements. as one of its elements.

View File

@ -8,10 +8,6 @@ description: |-
# `csvdecode` Function # `csvdecode` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`csvdecode` decodes a string containing CSV-formatted data and produces a `csvdecode` decodes a string containing CSV-formatted data and produces a
list of maps representing that data. list of maps representing that data.

View File

@ -8,10 +8,6 @@ description: |-
# `dirname` Function # `dirname` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`dirname` takes a string containing a filesystem path and removes the last `dirname` takes a string containing a filesystem path and removes the last
portion from it. portion from it.

View File

@ -8,10 +8,6 @@ description: |-
# `distinct` Function # `distinct` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`distinct` takes a list and returns a new list with any duplicate elements `distinct` takes a list and returns a new list with any duplicate elements
removed. removed.

View File

@ -8,10 +8,6 @@ description: |-
# `element` Function # `element` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`element` retrieves a single element from a list. `element` retrieves a single element from a list.
```hcl ```hcl

View File

@ -9,10 +9,6 @@ description: |-
# `file` Function # `file` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`file` reads the contents of a file at the given path and returns them as `file` reads the contents of a file at the given path and returns them as
a string. a string.

View File

@ -9,10 +9,6 @@ description: |-
# `filebase64` Function # `filebase64` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`filebase64` reads the contents of a file at the given path and returns them as `filebase64` reads the contents of a file at the given path and returns them as
a base64-encoded string. a base64-encoded string.

View File

@ -9,10 +9,6 @@ description: |-
# `filebase64sha256` Function # `filebase64sha256` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`filebase64sha256` is a variant of [`base64sha256`](./base64sha256.html) `filebase64sha256` is a variant of [`base64sha256`](./base64sha256.html)
that hashes the contents of a given file rather than a literal string. that hashes the contents of a given file rather than a literal string.

View File

@ -9,10 +9,6 @@ description: |-
# `filebase64sha512` Function # `filebase64sha512` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`filebase64sha512` is a variant of [`base64sha512`](./base64sha512.html) `filebase64sha512` is a variant of [`base64sha512`](./base64sha512.html)
that hashes the contents of a given file rather than a literal string. that hashes the contents of a given file rather than a literal string.

View File

@ -8,10 +8,6 @@ description: |-
# `fileexists` Function # `fileexists` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`fileexists` determines whether a file exists at a given path. `fileexists` determines whether a file exists at a given path.
```hcl ```hcl

View File

@ -9,10 +9,6 @@ description: |-
# `filemd5` Function # `filemd5` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`filemd5` is a variant of [`md5`](./md5.html) `filemd5` is a variant of [`md5`](./md5.html)
that hashes the contents of a given file rather than a literal string. that hashes the contents of a given file rather than a literal string.

View File

@ -8,10 +8,6 @@ description: |-
# `fileset` Function # `fileset` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`fileset` enumerates a set of regular file names given a path and pattern. `fileset` enumerates a set of regular file names given a path and pattern.
The path is automatically removed from the resulting set of file names and any The path is automatically removed from the resulting set of file names and any
result still containing path separators always returns forward slash (`/`) as result still containing path separators always returns forward slash (`/`) as

View File

@ -9,10 +9,6 @@ description: |-
# `filesha1` Function # `filesha1` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`filesha1` is a variant of [`sha1`](./sha1.html) `filesha1` is a variant of [`sha1`](./sha1.html)
that hashes the contents of a given file rather than a literal string. that hashes the contents of a given file rather than a literal string.

View File

@ -9,10 +9,6 @@ description: |-
# `filesha256` Function # `filesha256` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`filesha256` is a variant of [`sha256`](./sha256.html) `filesha256` is a variant of [`sha256`](./sha256.html)
that hashes the contents of a given file rather than a literal string. that hashes the contents of a given file rather than a literal string.

View File

@ -9,10 +9,6 @@ description: |-
# `filesha512` Function # `filesha512` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`filesha512` is a variant of [`sha512`](./sha512.html) `filesha512` is a variant of [`sha512`](./sha512.html)
that hashes the contents of a given file rather than a literal string. that hashes the contents of a given file rather than a literal string.

View File

@ -8,10 +8,6 @@ description: |-
# `flatten` Function # `flatten` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`flatten` takes a list and replaces any elements that are lists with a `flatten` takes a list and replaces any elements that are lists with a
flattened sequence of the list contents. flattened sequence of the list contents.

View File

@ -9,10 +9,6 @@ description: |-
# `floor` Function # `floor` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`floor` returns the closest whole number that is less than or equal to the `floor` returns the closest whole number that is less than or equal to the
given value, which may be a fraction. given value, which may be a fraction.

View File

@ -9,10 +9,6 @@ description: |-
# `format` Function # `format` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`format` produces a string by formatting a number of other values according `format` produces a string by formatting a number of other values according
to a specification string. It is similar to the `printf` function in C, and to a specification string. It is similar to the `printf` function in C, and
other similar functions in other programming languages. other similar functions in other programming languages.

View File

@ -8,10 +8,6 @@ description: |-
# `formatdate` Function # `formatdate` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`formatdate` converts a timestamp into a different time format. `formatdate` converts a timestamp into a different time format.
```hcl ```hcl

View File

@ -9,10 +9,6 @@ description: |-
# `formatlist` Function # `formatlist` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`formatlist` produces a list of strings by formatting a number of other `formatlist` produces a list of strings by formatting a number of other
values according to a specification string. values according to a specification string.

View File

@ -9,10 +9,6 @@ description: |-
# `indent` Function # `indent` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`indent` adds a given number of spaces to the beginnings of all but the first `indent` adds a given number of spaces to the beginnings of all but the first
line in a given multi-line string. line in a given multi-line string.

View File

@ -8,10 +8,6 @@ description: |-
# `index` Function # `index` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`index` finds the element index for a given value in a list. `index` finds the element index for a given value in a list.
```hcl ```hcl

View File

@ -9,10 +9,6 @@ description: |-
# `join` Function # `join` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`join` produces a string by concatenating together all elements of a given `join` produces a string by concatenating together all elements of a given
list of strings with the given delimiter. list of strings with the given delimiter.

View File

@ -9,10 +9,6 @@ description: |-
# `jsondecode` Function # `jsondecode` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`jsondecode` interprets a given string as JSON, returning a representation `jsondecode` interprets a given string as JSON, returning a representation
of the result of decoding that string. of the result of decoding that string.

View File

@ -8,10 +8,6 @@ description: |-
# `jsonencode` Function # `jsonencode` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`jsonencode` encodes a given value to a string using JSON syntax. `jsonencode` encodes a given value to a string using JSON syntax.
The JSON encoding is defined in [RFC 7159](https://tools.ietf.org/html/rfc7159). The JSON encoding is defined in [RFC 7159](https://tools.ietf.org/html/rfc7159).

View File

@ -8,10 +8,6 @@ description: |-
# `keys` Function # `keys` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`keys` takes a map and returns a list containing the keys from that map. `keys` takes a map and returns a list containing the keys from that map.
The keys are returned in lexicographical order, ensuring that the result will The keys are returned in lexicographical order, ensuring that the result will

View File

@ -8,10 +8,6 @@ description: |-
# `length` Function # `length` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`length` determines the length of a given list, map, or string. `length` determines the length of a given list, map, or string.
If given a list or map, the result is the number of elements in that collection. If given a list or map, the result is the number of elements in that collection.

View File

@ -8,10 +8,6 @@ description: |-
# `list` Function # `list` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
The `list` function is no longer available. Prior to Terraform v0.12 it was The `list` function is no longer available. Prior to Terraform v0.12 it was
the only available syntax for writing a literal list inside an expression, the only available syntax for writing a literal list inside an expression,
but Terraform v0.12 introduced a new first-class syntax. but Terraform v0.12 introduced a new first-class syntax.

View File

@ -8,10 +8,6 @@ description: |-
# `log` Function # `log` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`log` returns the logarithm of a given number in a given base. `log` returns the logarithm of a given number in a given base.
```hcl ```hcl

View File

@ -8,10 +8,6 @@ description: |-
# `lookup` Function # `lookup` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`lookup` retrieves the value of a single element from a map, given its key. `lookup` retrieves the value of a single element from a map, given its key.
If the given key does not exist, the given default value is returned instead. If the given key does not exist, the given default value is returned instead.

View File

@ -8,10 +8,6 @@ description: |-
# `lower` Function # `lower` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`lower` converts all cased letters in the given string to lowercase. `lower` converts all cased letters in the given string to lowercase.
## Examples ## Examples

View File

@ -8,10 +8,6 @@ description: |-
# `map` Function # `map` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
The `map` function is no longer available. Prior to Terraform v0.12 it was The `map` function is no longer available. Prior to Terraform v0.12 it was
the only available syntax for writing a literal map inside an expression, the only available syntax for writing a literal map inside an expression,
but Terraform v0.12 introduced a new first-class syntax. but Terraform v0.12 introduced a new first-class syntax.

View File

@ -9,10 +9,6 @@ description: |-
# `matchkeys` Function # `matchkeys` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`matchkeys` constructs a new list by taking a subset of elements from one `matchkeys` constructs a new list by taking a subset of elements from one
list whose indexes match the corresponding indexes of values in another list whose indexes match the corresponding indexes of values in another
list. list.

View File

@ -8,10 +8,6 @@ description: |-
# `max` Function # `max` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`max` takes one or more numbers and returns the greatest number from the set. `max` takes one or more numbers and returns the greatest number from the set.
## Examples ## Examples

View File

@ -9,10 +9,6 @@ description: |-
# `md5` Function # `md5` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`md5` computes the MD5 hash of a given string and encodes it with `md5` computes the MD5 hash of a given string and encodes it with
hexadecimal digits. hexadecimal digits.

View File

@ -10,10 +10,6 @@ description: |-
# `merge` Function # `merge` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`merge` takes an arbitrary number of maps or objects, and returns a single map `merge` takes an arbitrary number of maps or objects, and returns a single map
or object that contains a merged set of elements from all arguments. or object that contains a merged set of elements from all arguments.

View File

@ -8,10 +8,6 @@ description: |-
# `min` Function # `min` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`min` takes one or more numbers and returns the smallest number from the set. `min` takes one or more numbers and returns the smallest number from the set.
## Examples ## Examples

View File

@ -8,10 +8,6 @@ description: |-
# `parseint` Function # `parseint` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`parseint` parses the given string as a representation of an integer in `parseint` parses the given string as a representation of an integer in
the specified base and returns the resulting number. The base must be between 2 the specified base and returns the resulting number. The base must be between 2
and 62 inclusive. and 62 inclusive.

View File

@ -9,10 +9,6 @@ description: |-
# `pathexpand` Function # `pathexpand` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`pathexpand` takes a filesystem path that might begin with a `~` segment, `pathexpand` takes a filesystem path that might begin with a `~` segment,
and if so it replaces that segment with the current user's home directory and if so it replaces that segment with the current user's home directory
path. path.

View File

@ -8,10 +8,6 @@ description: |-
# `pow` Function # `pow` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`pow` calculates an exponent, by raising its first argument to the power of the second argument. `pow` calculates an exponent, by raising its first argument to the power of the second argument.
## Examples ## Examples

View File

@ -8,10 +8,6 @@ description: |-
# `range` Function # `range` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`range` generates a list of numbers using a start value, a limit value, `range` generates a list of numbers using a start value, a limit value,
and a step value. and a step value.

View File

@ -9,10 +9,6 @@ description: |-
# `regex` Function # `regex` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`regex` applies a `regex` applies a
[regular expression](https://en.wikipedia.org/wiki/Regular_expression) [regular expression](https://en.wikipedia.org/wiki/Regular_expression)
to a string and returns the matching substrings. to a string and returns the matching substrings.

View File

@ -8,10 +8,6 @@ description: |-
# `regexall` Function # `regexall` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`regexall` applies a `regexall` applies a
[regular expression](https://en.wikipedia.org/wiki/Regular_expression) [regular expression](https://en.wikipedia.org/wiki/Regular_expression)
to a string and returns a list of all matches. to a string and returns a list of all matches.

View File

@ -9,10 +9,6 @@ description: |-
# `replace` Function # `replace` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`replace` searches a given string for another given substring, and replaces `replace` searches a given string for another given substring, and replaces
each occurrence with a given replacement string. each occurrence with a given replacement string.

View File

@ -8,10 +8,6 @@ description: |-
# `reverse` Function # `reverse` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`reverse` takes a sequence and produces a new sequence of the same length `reverse` takes a sequence and produces a new sequence of the same length
with all of the same elements as the given sequence but in reverse order. with all of the same elements as the given sequence but in reverse order.

View File

@ -8,10 +8,6 @@ description: |-
# `rsadecrypt` Function # `rsadecrypt` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`rsadecrypt` decrypts an RSA-encrypted ciphertext, returning the corresponding `rsadecrypt` decrypts an RSA-encrypted ciphertext, returning the corresponding
cleartext. cleartext.

View File

@ -9,10 +9,6 @@ description: |-
# `setintersection` Function # `setintersection` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
The `setintersection` function takes multiple sets and produces a single set The `setintersection` function takes multiple sets and produces a single set
containing only the elements that all of the given sets have in common. containing only the elements that all of the given sets have in common.
In other words, it computes the In other words, it computes the

View File

@ -9,10 +9,6 @@ description: |-
# `setproduct` Function # `setproduct` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
The `setproduct` function finds all of the possible combinations of elements The `setproduct` function finds all of the possible combinations of elements
from all of the given sets by computing the from all of the given sets by computing the
[Cartesian product](https://en.wikipedia.org/wiki/Cartesian_product). [Cartesian product](https://en.wikipedia.org/wiki/Cartesian_product).

View File

@ -9,10 +9,6 @@ description: |-
# `setsubtract` Function # `setsubtract` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
The `setsubtract` function returns a new set containing the elements from the first set that are not present in the second set. In other words, it computes the The `setsubtract` function returns a new set containing the elements from the first set that are not present in the second set. In other words, it computes the
[relative complement](https://en.wikipedia.org/wiki/Complement_(set_theory)#Relative_complement) of the first set in the second set. [relative complement](https://en.wikipedia.org/wiki/Complement_(set_theory)#Relative_complement) of the first set in the second set.

View File

@ -9,10 +9,6 @@ description: |-
# `setunion` Function # `setunion` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
The `setunion` function takes multiple sets and produces a single set The `setunion` function takes multiple sets and produces a single set
containing the elements from all of the given sets. In other words, it containing the elements from all of the given sets. In other words, it
computes the [union](https://en.wikipedia.org/wiki/Union_(set_theory)) of computes the [union](https://en.wikipedia.org/wiki/Union_(set_theory)) of

View File

@ -9,10 +9,6 @@ description: |-
# `sha1` Function # `sha1` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`sha1` computes the SHA1 hash of a given string and encodes it with `sha1` computes the SHA1 hash of a given string and encodes it with
hexadecimal digits. hexadecimal digits.

View File

@ -9,10 +9,6 @@ description: |-
# `sha256` Function # `sha256` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`sha256` computes the SHA256 hash of a given string and encodes it with `sha256` computes the SHA256 hash of a given string and encodes it with
hexadecimal digits. hexadecimal digits.

View File

@ -9,10 +9,6 @@ description: |-
# `sha512` Function # `sha512` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`sha512` computes the SHA512 hash of a given string and encodes it with `sha512` computes the SHA512 hash of a given string and encodes it with
hexadecimal digits. hexadecimal digits.

View File

@ -8,10 +8,6 @@ description: |-
# `signum` Function # `signum` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`signum` determines the sign of a number, returning a number between -1 and `signum` determines the sign of a number, returning a number between -1 and
1 to represent the sign. 1 to represent the sign.

View File

@ -8,10 +8,6 @@ description: |-
# `slice` Function # `slice` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`slice` extracts some consecutive elements from within a list. `slice` extracts some consecutive elements from within a list.
```hcl ```hcl

View File

@ -9,10 +9,6 @@ description: |-
# `sort` Function # `sort` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`sort` takes a list of strings and returns a new list with those strings `sort` takes a list of strings and returns a new list with those strings
sorted lexicographically. sorted lexicographically.

View File

@ -9,10 +9,6 @@ description: |-
# `split` Function # `split` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`split` produces a list by dividing a given string at all occurrences of a `split` produces a list by dividing a given string at all occurrences of a
given separator. given separator.

View File

@ -9,10 +9,6 @@ description: |-
# `substr` Function # `substr` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`substr` extracts a substring from a given string by offset and length. `substr` extracts a substring from a given string by offset and length.
```hcl ```hcl

View File

@ -9,10 +9,6 @@ description: |-
# `sum` Function # `sum` Function
-> **Note:** This page is about Terraform 0.13 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`sum` takes a list or set of numbers and returns the sum of those numbers. `sum` takes a list or set of numbers and returns the sum of those numbers.

View File

@ -9,10 +9,6 @@ description: |-
# `templatefile` Function # `templatefile` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`templatefile` reads the file at the given path and renders its content `templatefile` reads the file at the given path and renders its content
as a template using a supplied set of template variables. as a template using a supplied set of template variables.

View File

@ -9,10 +9,6 @@ description: |-
# `timeadd` Function # `timeadd` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`timeadd` adds a duration to a timestamp, returning a new timestamp. `timeadd` adds a duration to a timestamp, returning a new timestamp.
```hcl ```hcl

View File

@ -9,10 +9,6 @@ description: |-
# `timestamp` Function # `timestamp` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`timestamp` returns a UTC timestamp string in [RFC 3339](https://tools.ietf.org/html/rfc3339) format. `timestamp` returns a UTC timestamp string in [RFC 3339](https://tools.ietf.org/html/rfc3339) format.
In the Terraform language, timestamps are conventionally represented as In the Terraform language, timestamps are conventionally represented as

View File

@ -9,10 +9,6 @@ description: |-
# `title` Function # `title` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`title` converts the first letter of each word in the given string to uppercase. `title` converts the first letter of each word in the given string to uppercase.
## Examples ## Examples

View File

@ -8,10 +8,6 @@ description: |-
# `tobool` Function # `tobool` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`tobool` converts its argument to a boolean value. `tobool` converts its argument to a boolean value.
Explicit type conversions are rarely necessary in Terraform because it will Explicit type conversions are rarely necessary in Terraform because it will

View File

@ -8,10 +8,6 @@ description: |-
# `tolist` Function # `tolist` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`tolist` converts its argument to a list value. `tolist` converts its argument to a list value.
Explicit type conversions are rarely necessary in Terraform because it will Explicit type conversions are rarely necessary in Terraform because it will

View File

@ -8,10 +8,6 @@ description: |-
# `tomap` Function # `tomap` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`tomap` converts its argument to a map value. `tomap` converts its argument to a map value.
Explicit type conversions are rarely necessary in Terraform because it will Explicit type conversions are rarely necessary in Terraform because it will

View File

@ -8,10 +8,6 @@ description: |-
# `tonumber` Function # `tonumber` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`tonumber` converts its argument to a number value. `tonumber` converts its argument to a number value.
Explicit type conversions are rarely necessary in Terraform because it will Explicit type conversions are rarely necessary in Terraform because it will

View File

@ -8,10 +8,6 @@ description: |-
# `toset` Function # `toset` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`toset` converts its argument to a set value. `toset` converts its argument to a set value.
Explicit type conversions are rarely necessary in Terraform because it will Explicit type conversions are rarely necessary in Terraform because it will

View File

@ -8,10 +8,6 @@ description: |-
# `tostring` Function # `tostring` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`tostring` converts its argument to a string value. `tostring` converts its argument to a string value.
Explicit type conversions are rarely necessary in Terraform because it will Explicit type conversions are rarely necessary in Terraform because it will

View File

@ -9,10 +9,6 @@ description: |-
# `transpose` Function # `transpose` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`transpose` takes a map of lists of strings and swaps the keys and values `transpose` takes a map of lists of strings and swaps the keys and values
to produce a new map of lists of strings. to produce a new map of lists of strings.

View File

@ -9,10 +9,6 @@ description: |-
# `trim` Function # `trim` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`trim` removes the specified characters from the start and end of the given `trim` removes the specified characters from the start and end of the given
string. string.

View File

@ -9,10 +9,6 @@ description: |-
# `trimprefix` Function # `trimprefix` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`trimprefix` removes the specified prefix from the start of the given string. If the string does not start with the prefix, the string is returned unchanged. `trimprefix` removes the specified prefix from the start of the given string. If the string does not start with the prefix, the string is returned unchanged.
## Examples ## Examples

View File

@ -9,10 +9,6 @@ description: |-
# `trimspace` Function # `trimspace` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`trimspace` removes any space characters from the start and end of the given `trimspace` removes any space characters from the start and end of the given
string. string.

View File

@ -9,10 +9,6 @@ description: |-
# `trimsuffix` Function # `trimsuffix` Function
-> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
earlier, see
[0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
`trimsuffix` removes the specified suffix from the end of the given string. `trimsuffix` removes the specified suffix from the end of the given string.
## Examples ## Examples

Some files were not shown because too many files have changed in this diff Show More