providers

package
v0.0.0-...-55ed90b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2024 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Detect

func Detect(ctx *config.ProjectContext, includePastResources bool) (schema.Provider, error)

func DetectProjectType

func DetectProjectType(path string, forceCLI bool) string

func IsTerragruntNestedDir

func IsTerragruntNestedDir(path string, maxDepth int) bool

Types

type ValidationError

type ValidationError struct {
	// contains filtered or unexported fields
}

ValidationError represents an error that is raised because provider conditions are not met. This error is commonly used to show requirements to a user running an Infracost command.

func (*ValidationError) Error

func (e *ValidationError) Error() string

Error returns ValidationError as a string, implementing the error interface.

func (ValidationError) Warn

func (e ValidationError) Warn() *string

Warn returns the ValidationError warning message. A warning highlights a potential issue with runtime configuration but a condition that the Provider can proceed with.

Warn can return nil if there are no validation warnings.

Directories

Path Synopsis
aws

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL