turbot/terraform

GitHub
steampipe plugin install terraformsteampipe plugin install terraform

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,
path
from
terraform_local;

List 'Owner' locals (case insensitive)

select
name,
value,
path
from
terraform_local
where
name ilike 'owner'

.inspect terraform_local

Terraform local information.

NameTypeDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
end_linebigintEnding line number.
nametextLocal name.
pathtextPath to the file.
sourcetextThe block source code.
start_linebigintStarting line number.
valuejsonbLocal value.