Documentation ¶
Overview ¶
Package terraform implements a steampipe plugin for terraform.
This plugin provides data that Steampipe uses to present foreign tables that represent Terraform resources.
Index ¶
- Variables
- func ConfigInstance() interface{}
- func GetConfig(connection *plugin.Connection) terraformConfig
- func NullIfEmptyMap(_ context.Context, d *transform.TransformData) (interface{}, error)
- func ParseContent(ctx context.Context, d *plugin.QueryData, path string, content []byte, ...) (parser.ParsedDocument, error)
- func Parser() ([]*parser.Parser, error)
- func Plugin(ctx context.Context) *plugin.Plugin
- type TerraformPlanContentStruct
- type TerraformPlanPlannedValues
- type TerraformPlanPlannedValuesRootModule
- type TerraformPlanResource
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigSchema = map[string]*schema.Attribute{ "configuration_file_paths": { Type: schema.TypeList, Elem: &schema.Attribute{Type: schema.TypeString}, }, "paths": { Type: schema.TypeList, Elem: &schema.Attribute{Type: schema.TypeString}, }, "plan_file_paths": { Type: schema.TypeList, Elem: &schema.Attribute{Type: schema.TypeString}, }, "state_file_paths": { Type: schema.TypeList, Elem: &schema.Attribute{Type: schema.TypeString}, }, }
Functions ¶
func ConfigInstance ¶
func ConfigInstance() interface{}
func GetConfig ¶
func GetConfig(connection *plugin.Connection) terraformConfig
GetConfig :: retrieve and cast connection config from query data
func NullIfEmptyMap ¶ added in v0.10.0
func NullIfEmptyMap(_ context.Context, d *transform.TransformData) (interface{}, error)
Transform function to return nil if an empty map
func ParseContent ¶ added in v0.0.4
Types ¶
type TerraformPlanContentStruct ¶ added in v0.10.0
type TerraformPlanContentStruct struct {
PlannedValues TerraformPlanPlannedValues `json:"planned_values"`
}
type TerraformPlanPlannedValues ¶ added in v0.10.0
type TerraformPlanPlannedValues struct {
RootModule TerraformPlanPlannedValuesRootModule `json:"root_module"`
}
type TerraformPlanPlannedValuesRootModule ¶ added in v0.10.0
type TerraformPlanPlannedValuesRootModule struct {
Resources []TerraformPlanResource `json:"resources"`
}
Click to show internal directories.
Click to hide internal directories.