Documentation ¶
Index ¶
Constants ¶
View Source
const TerraformStateReaderSupplier = "tfstate"
Variables ¶
View Source
var ( // UnsupportedVersionConstraints is an array of version constraints known to be unsupported. // If a given state matches one of these, all resources of the related state will be ignored and marked as drifted. UnsupportedVersionConstraints = []string{"<0.11.0"} )
Functions ¶
func IsVersionSupported ¶
Types ¶
type StateReadingAlert ¶
type StateReadingAlert struct {
// contains filtered or unexported fields
}
func NewStateReadingAlert ¶
func NewStateReadingAlert(key string, err error) *StateReadingAlert
func (*StateReadingAlert) Message ¶
func (s *StateReadingAlert) Message() string
func (*StateReadingAlert) ShouldIgnoreResource ¶
func (s *StateReadingAlert) ShouldIgnoreResource() bool
type TerraformStateReader ¶
type TerraformStateReader struct {
// contains filtered or unexported fields
}
func NewReader ¶
func NewReader(config config.SupplierConfig, library *terraform.ProviderLibrary, backendOpts *backend.Options, progress output.Progress, alerter *alerter.Alerter, deserializer *resource.Deserializer, filter filter.Filter) (*TerraformStateReader, error)
type UnsupportedVersionError ¶
type UnsupportedVersionError struct { StateFile string Version *version.Version }
func (*UnsupportedVersionError) Error ¶
func (u *UnsupportedVersionError) Error() string
Click to show internal directories.
Click to hide internal directories.