Table: terraform_local
A local value assigns a name to an expression, so you can use it multiple times within a module without repeating it.
Examples
Basic info
select name, value, pathfrom terraform_local;
List 'Owner' locals (case insensitive)
select name, value, pathfrom terraform_localwhere name ilike 'owner'
.inspect terraform_local
Terraform local information.
Name | Type | Description |
---|---|---|
_ctx | jsonb | Steampipe context in JSON form, e.g. connection_name. |
end_line | bigint | Ending line number. |
name | text | Local name. |
path | text | Path to the file. |
source | text | The block source code. |
start_line | bigint | Starting line number. |
value | jsonb | Local value. |