Locals Block
The locals
block allows defining local variables for the project. Note locals are only evaluated within of the scope of the project. Variables defined in the locals
block can be used as regular variables (using the local.<identifier>
syntax).
Multiple locals
blocks are allowed as long identifier is unique.
Usage
A local can then be used using the local.<id>
syntax.
Example Usage
locals {
app_name = "terrabuild"
}
Last updated on