Merge pull request #4765 from hashicorp/f-docs-operators
docs: Add operators for interpolation functions
This commit is contained in:
commit
5c16b47330
|
@ -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