Merge pull request #4765 from hashicorp/f-docs-operators

docs: Add operators for interpolation functions
This commit is contained in:
James Nugent 2016-01-20 17:09:45 -05:00
commit 5c16b47330
1 changed files with 2 additions and 2 deletions

View File

@ -262,8 +262,8 @@ resource "aws_instance" "web" {
The supported operations are:
- *Add*, *Subtract*, *Multiply*, and *Divide* for **float** types
- *Add*, *Subtract*, *Multiply*, *Divide*, and *Modulo* for **integer** types
- *Add* (`+`), *Subtract* (`-`), *Multiply* (`*`), and *Divide* (`/`) for **float** types
- *Add* (`+`), *Subtract* (`-`), *Multiply* (`*`), *Divide* (`/`), and *Modulo* (`%`) for **integer** types
-> **Note:** Since Terraform allows hyphens in resource and variable names,
it's best to use spaces between math operators to prevent confusion or unexpected