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, pathfrom terraform_provider;
List providers using deprecated 'version' argument
select name, alias, version, pathfrom terraform_providerwhere version is not null;
List AWS providers with their regions
select name, alias, arguments ->> 'region' as region, pathfrom terraform_providerwhere name = 'aws';
.inspect terraform_provider
Terraform provider information.
Name | Type | Description |
---|---|---|
_ctx | jsonb | Steampipe context in JSON form, e.g. connection_name. |
alias | text | The alias meta-argument to provide an extra name segment. |
arguments | jsonb | Provider arguments. |
end_line | bigint | Ending line number. |
name | text | Provider name. |
path | text | Path to the file. |
source | text | The block source code. |
start_line | bigint | Starting line number. |
version | text | The version meta-argument specifies a version constraint for a provider, and works the same way as the version argument in a required_providers block. |