Locals
A local value assigns a name to an expression, so you can use the name multiple times within a module instead of repeating the expression.
Brainboard allows you to define multiple locals.
{% hint style="success" %}
When you define locals in Brainboard, they are added to the locals.tf file and in the same block locals
{% endhint %}
 (1).png)
The table of locals is similar to the one of variables detailed above. Please refer to it to understand the different components of the user interface.
Creating a new local
Click on the Add local button to open the modal that allows you to specify the Name, Description and Value of the local.
 (1).png)
{% hint style="info" %} If you are using a complex expression in the value field, you need to quote it as you can mix strings, functions, variables.... {% endhint %}