-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
88e90c2
commit bed5e66
Showing
10 changed files
with
186 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "stdlib_exp Data Source - stdlib" | ||
subcategory: "" | ||
description: |- | ||
Return the base-e exponential of an input parameter. | ||
--- | ||
|
||
# stdlib_exp (Data Source) | ||
|
||
Return the base-e exponential of an input parameter. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
# Return the base e exponential of 0 | ||
data "stdlib_exp" "zero" { | ||
param = 0 | ||
} | ||
# => 1 | ||
# Return the base e exponential of 1.0986122 | ||
data "stdlib_exp" "decimal" { | ||
param = 1.0986122 | ||
} | ||
# => 2.9999997339956828 | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `param` (Number) Input number parameter for determining the base-e exponential. | ||
|
||
### Read-Only | ||
|
||
- `id` (Number) Aliased to number input parameter(s) for efficiency and proper plan diff detection. | ||
- `result` (Number) Function result storing the base-e exponential of the input parameter. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "stdlib_mod Data Source - stdlib" | ||
subcategory: "" | ||
description: |- | ||
Return the remainder of the dividend divided by the divisor. | ||
--- | ||
|
||
# stdlib_mod (Data Source) | ||
|
||
Return the remainder of the dividend divided by the divisor. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
# Return the remainder of 4 / 2 | ||
data "stdlib_mod" "zero" { | ||
dividend = 4 | ||
divisor = 2 | ||
} | ||
# => 0 | ||
# Return the remainder of 5 / 3 | ||
data "stdlib_mod" "integer" { | ||
dividend = 5 | ||
divisor = 3 | ||
} | ||
# => 2 | ||
# Return the remainder of 10 / 3.5 | ||
data "stdlib_mod" "decimal" { | ||
dividend = 10 | ||
divisor = 4.75 | ||
} | ||
# => 0.5 | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `dividend` (Number) The dividend number from which to divide. | ||
- `divisor` (Number) The divisor number by which to divide. | ||
|
||
### Read-Only | ||
|
||
- `id` (Number) Aliased to number input parameter(s) for efficiency and proper plan diff detection. | ||
- `result` (Number) Function result storing the remainder of the dividend divided by the divisor. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "stdlib_round Data Source - stdlib" | ||
subcategory: "" | ||
description: |- | ||
Return the nearest integer of an input parameter; rounding half away from zero. | ||
--- | ||
|
||
# stdlib_round (Data Source) | ||
|
||
Return the nearest integer of an input parameter; rounding half away from zero. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
# Return the square root of 4 | ||
data "stdlib_sqrt" "four" { | ||
param = 4 | ||
} | ||
# => 2 | ||
# Return the square root of 0 | ||
data "stdlib_sqrt" "zero" { | ||
param = 0 | ||
} | ||
# => 0 | ||
# Return the square root of 2 | ||
data "stdlib_sqrt" "two" { | ||
param = 2 | ||
} | ||
# => 1.4142135623730951 | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `param` (Number) Input number parameter for determining the rounding. | ||
|
||
### Read-Only | ||
|
||
- `id` (Number) Aliased to number input parameter(s) for efficiency and proper plan diff detection. | ||
- `result` (Number) Function result storing the rounding of the input parameter. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "stdlib_sqrt Data Source - stdlib" | ||
subcategory: "" | ||
description: |- | ||
Return the square root of an input parameter;. | ||
--- | ||
|
||
# stdlib_sqrt (Data Source) | ||
|
||
Return the square root of an input parameter;. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
# Return the rounding of of 1.2 | ||
data "stdlib_round" "down" { | ||
param = 1.2 | ||
} | ||
# => 1 | ||
# Return the rounding of 1.8 | ||
data "stdlib_round" "up" { | ||
param = 1.8 | ||
} | ||
# => 2 | ||
# Return the rounding of 1.5 | ||
data "stdlib_round" "half" { | ||
param = 1.5 | ||
} | ||
# => 2 | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `param` (Number) Input number parameter for determining the square root. | ||
|
||
### Read-Only | ||
|
||
- `id` (Number) Aliased to number input parameter(s) for efficiency and proper plan diff detection. | ||
- `result` (Number) Function result storing the square root of the input parameter. |