mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Merge pull request #1378 from bobtfish/better_doc_math
Document the fix to GH-1068 on the website
This commit is contained in:
commit
514a5b9684
@ -16,6 +16,9 @@ into strings. These interpolations are wrapped in `${}`, such as
|
||||
The interpolation syntax is powerful and allows you to reference
|
||||
variables, attributes of resources, call functions, etc.
|
||||
|
||||
You can also perform simple math in interpolations, allowing
|
||||
you to write expressions such as `${count.index+1}`.
|
||||
|
||||
## Available Variables
|
||||
|
||||
**To reference user variables**, use the `var.` prefix followed by the
|
||||
|
Loading…
Reference in New Issue
Block a user