terraform/vendor/github.com/hashicorp/terraform-config-inspect/tfconfig/provider_ref.go

10 lines
375 B
Go
Raw Normal View History

package tfconfig
// ProviderRef is a reference to a provider configuration within a module.
// It represents the contents of a "provider" argument in a resource, or
// a value in the "providers" map for a module call.
type ProviderRef struct {
Name string `json:"name"`
Alias string `json:"alias,omitempty"` // Empty if the default provider configuration is referenced
}