Skip to content

Commit

Permalink
Merge pull request #33832 from hashicorp/jbardin/v1.5-backport-33821
Browse files Browse the repository at this point in the history
v1.5 backport of 33821
  • Loading branch information
jbardin committed Sep 7, 2023
2 parents 4f2443a + ad1860c commit 3aa19f0
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions website/docs/language/expressions/types.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,14 @@ The Terraform language uses the following types for its values:
numbers like `15` and fractional values like `6.283185`.
* `bool`: a boolean value, either `true` or `false`. `bool` values can be used in conditional
logic.
* `list`: a sequence of values, like `["us-west-1a", "us-west-1c"]`. Elements in a list are
identified by consecutive whole numbers, starting with zero.
* `list` (or `tuple`): a sequence of values, like `["us-west-1a", "us-west-1c"]`. Identify elements in a list with consecutive whole numbers, starting with zero.
* `set`: a collection of unique values that do not have any secondary identifiers or ordering.
* `map`: a group of values identified by named labels, like
* `map` (or `object`): a group of values identified by named labels, like
`{name = "Mabel", age = 52}`.

Strings, numbers, and bools are sometimes called _primitive types._ Lists and sets are forms
of tuples. Maps are a form of objects. Tuples and maps are sometimes called _complex types,_
_structural types,_ or _collection types._ See
Strings, numbers, and bools are sometimes called _primitive types._
Lists/tuples and maps/objects are sometimes called _complex types,_ _structural
types,_ or _collection types._ See
[Type Constraints](/terraform/language/expressions/type-constraints) for a more detailed
description of complex types.

Expand Down

0 comments on commit 3aa19f0

Please sign in to comment.