Documentation ¶
Index ¶
Constants ¶
View Source
const EXIT_ERROR = 3
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TerraformProvider ¶
type TerraformProvider struct { Config TerraformProviderConfig // contains filtered or unexported fields }
func NewTerraformProvider ¶
func NewTerraformProvider(installer *tf.ProviderInstaller, config TerraformProviderConfig, progress progress2.ProgressCounter) (*TerraformProvider, error)
func (*TerraformProvider) Cleanup ¶
func (p *TerraformProvider) Cleanup()
func (*TerraformProvider) Init ¶
func (p *TerraformProvider) Init() error
func (*TerraformProvider) ReadResource ¶
func (p *TerraformProvider) ReadResource(args tf.ReadResourceArgs) (*cty.Value, error)
func (*TerraformProvider) Runner ¶
func (p *TerraformProvider) Runner() *parallel.ParallelRunner
type TerraformProviderConfig ¶
type TerraformProviderConfig struct { Name string DefaultAlias string GetProviderConfig func(alias string) interface{} }
"alias" in these struct are a way to namespace gRPC clients. For example, if we need to read S3 bucket from multiple AWS region, we'll have an alias per region, and the alias IS the region itself. So we can query resources using a specific custom provider configuration
Click to show internal directories.
Click to hide internal directories.