Skip to content

Commit

Permalink
website: Fixed function doc links in parameter/return sections (#905)
Browse files Browse the repository at this point in the history
  • Loading branch information
austinvalle authored Jan 12, 2024
1 parent 1586677 commit 329a70c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions website/docs/plugin/framework/functions/parameters/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,26 @@ Parameter types that accepts a single data value, such as a boolean, number, or

| Parameter Type | Use Case |
|----------------|----------|
| [Bool](/terraform/plugin/framework/parameters/bool) | Boolean true or false |
| [Float64](/terraform/plugin/framework/parameters/float64) | 64-bit floating point number |
| [Int64](/terraform/plugin/framework/parameters/int64) | 64-bit integer number |
| [Number](/terraform/plugin/framework/parameters/number) | Arbitrary precision (generally over 64-bit, up to 512-bit) number |
| [String](/terraform/plugin/framework/parameters/string) | Collection of UTF-8 encoded characters |
| [Bool](/terraform/plugin/framework/functions/parameters/bool) | Boolean true or false |
| [Float64](/terraform/plugin/framework/functions/parameters/float64) | 64-bit floating point number |
| [Int64](/terraform/plugin/framework/functions/parameters/int64) | 64-bit integer number |
| [Number](/terraform/plugin/framework/functions/parameters/number) | Arbitrary precision (generally over 64-bit, up to 512-bit) number |
| [String](/terraform/plugin/framework/functions/parameters/string) | Collection of UTF-8 encoded characters |

#### Collection Parameter Types

Parameter types that accepts multiple values of a single element type, such as a list, map, or set.

| Parameter Type | Use Case |
|----------------|----------|
| [List](/terraform/plugin/framework/parameters/list) | Ordered collection of single element type |
| [Map](/terraform/plugin/framework/parameters/map) | Mapping of arbitrary string keys to values of single element type |
| [Set](/terraform/plugin/framework/parameters/set) | Unordered, unique collection of single element type |
| [List](/terraform/plugin/framework/functions/parameters/list) | Ordered collection of single element type |
| [Map](/terraform/plugin/framework/functions/parameters/map) | Mapping of arbitrary string keys to values of single element type |
| [Set](/terraform/plugin/framework/functions/parameters/set) | Unordered, unique collection of single element type |

#### Object Parameter Type

Parameter type that accepts a structure of explicit attribute names.

| Parameter Type | Use Case |
|----------------|----------|
| [Object](/terraform/plugin/framework/parameters/object) | Single structure mapping explicit attribute names |
| [Object](/terraform/plugin/framework/functions/parameters/object) | Single structure mapping explicit attribute names |
18 changes: 9 additions & 9 deletions website/docs/plugin/framework/functions/returns/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,26 @@ Return types that expect a single data value, such as a boolean, number, or stri

| Return Type | Use Case |
|----------------|----------|
| [Bool](/terraform/plugin/framework/returns/bool) | Boolean true or false |
| [Float64](/terraform/plugin/framework/returns/float64) | 64-bit floating point number |
| [Int64](/terraform/plugin/framework/returns/int64) | 64-bit integer number |
| [Number](/terraform/plugin/framework/returns/number) | Arbitrary precision (generally over 64-bit, up to 512-bit) number |
| [String](/terraform/plugin/framework/returns/string) | Collection of UTF-8 encoded characters |
| [Bool](/terraform/plugin/framework/functions/returns/bool) | Boolean true or false |
| [Float64](/terraform/plugin/framework/functions/returns/float64) | 64-bit floating point number |
| [Int64](/terraform/plugin/framework/functions/returns/int64) | 64-bit integer number |
| [Number](/terraform/plugin/framework/functions/returns/number) | Arbitrary precision (generally over 64-bit, up to 512-bit) number |
| [String](/terraform/plugin/framework/functions/returns/string) | Collection of UTF-8 encoded characters |

#### Collection Return Types

Return types that expect multiple values of a single element type, such as a list, map, or set.

| Return Type | Use Case |
|----------------|----------|
| [List](/terraform/plugin/framework/returns/list) | Ordered collection of single element type |
| [Map](/terraform/plugin/framework/returns/map) | Mapping of arbitrary string keys to values of single element type |
| [Set](/terraform/plugin/framework/returns/set) | Unordered, unique collection of single element type |
| [List](/terraform/plugin/framework/functions/returns/list) | Ordered collection of single element type |
| [Map](/terraform/plugin/framework/functions/returns/map) | Mapping of arbitrary string keys to values of single element type |
| [Set](/terraform/plugin/framework/functions/returns/set) | Unordered, unique collection of single element type |

#### Object Return Type

Return type that expects a structure of explicit attribute names.

| Return Type | Use Case |
|----------------|----------|
| [Object](/terraform/plugin/framework/returns/object) | Single structure mapping explicit attribute names |
| [Object](/terraform/plugin/framework/functions/returns/object) | Single structure mapping explicit attribute names |

0 comments on commit 329a70c

Please sign in to comment.