> ## Documentation Index
> Fetch the complete documentation index at: https://tfts.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# TerraformLocal

> Defines a Terraform local value.

`TerraformLocal` allows you to define local values in your Terraform configuration.

## Constructor

```typescript theme={null}
new TerraformLocal(scope: Construct, id: string, expression: any)
```

## Properties

### expression

`readonly expression: any`
The expression assigned to the local value.

### asString

`readonly asString: string`
The local value cast to a string.

### asNumber

`readonly asNumber: number`
The local value cast to a number.

### asBoolean

`readonly asBoolean: boolean`
The local value cast to a boolean.

### asList

`readonly asList: string[]`
The local value cast to a list of strings.
