turbot/terraform

GitHub
steampipe plugin install terraformsteampipe plugin install terraform

Table: terraform_provider

Each provider adds a set of resource types and/or data sources that Terraform can manage.

Most providers configure a specific infrastructure platform (either cloud or self-hosted). Providers can also offer local utilities for tasks like generating random numbers for unique resource names.

Examples

Basic info

select
name,
alias,
arguments,
path
from
terraform_provider;

List providers using deprecated 'version' argument

select
name,
alias,
version,
path
from
terraform_provider
where
version is not null;

List AWS providers with their regions

select
name,
alias,
arguments ->> 'region' as region,
path
from
terraform_provider
where
name = 'aws';

.inspect terraform_provider

Terraform provider information.

NameTypeDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
aliastextThe alias meta-argument to provide an extra name segment.
argumentsjsonbProvider arguments.
end_linebigintEnding line number.
nametextProvider name.
pathtextPath to the file.
sourcetextThe block source code.
start_linebigintStarting line number.
versiontextThe version meta-argument specifies a version constraint for a provider, and works the same way as the version argument in a required_providers block.