mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-23 23:22:57 -06:00
docs: Add operators for interpolation functions
This commit is contained in:
parent
2ad13251b9
commit
efe27f3eae
@ -262,8 +262,8 @@ resource "aws_instance" "web" {
|
|||||||
|
|
||||||
The supported operations are:
|
The supported operations are:
|
||||||
|
|
||||||
- *Add*, *Subtract*, *Multiply*, and *Divide* for **float** types
|
- *Add* (`+`), *Subtract* (`-`), *Multiply* (`*`), and *Divide* (`/`) for **float** types
|
||||||
- *Add*, *Subtract*, *Multiply*, *Divide*, and *Modulo* for **integer** types
|
- *Add* (`+`), *Subtract* (`-`), *Multiply* (`*`), *Divide* (`/`), and *Modulo* (`%`) for **integer** types
|
||||||
|
|
||||||
-> **Note:** Since Terraform allows hyphens in resource and variable names,
|
-> **Note:** Since Terraform allows hyphens in resource and variable names,
|
||||||
it's best to use spaces between math operators to prevent confusion or unexpected
|
it's best to use spaces between math operators to prevent confusion or unexpected
|
||||||
|
Loading…
Reference in New Issue
Block a user