Documentation ¶
Index ¶
- Constants
- Variables
- func ResolveTerragruntConfigString(terragruntConfigString string, include *IncludeConfig, ...) (resolved string, finalErr error)
- type CheckedTooManyParentFolders
- type IncludeConfig
- type IncludedConfigMissingPath
- type InvalidInterpolationSyntax
- type LockConfig
- type ParentTerragruntConfigNotFound
- type TerragruntConfig
- type TooManyLevelsOfInheritance
- type UnknownHelperFunction
Constants ¶
View Source
const DefaultTerragruntConfigPath = ".terragrunt"
Variables ¶
View Source
var ErrLockNotFound = fmt.Errorf("no Lock implementation found")
ErrLockNotFound is the error returned if no Lock implementation could be found for the specified name
View Source
var HELPER_FUNCTION_SYNTAX_REGEX = regexp.MustCompile("\\$\\{(.*?)\\(\\)\\}")
View Source
var INTERPOLATION_SYNTAX_REGEX = regexp.MustCompile("\\$\\{.*?\\}")
View Source
var MAX_PARENT_FOLDERS_TO_CHECK = 100
Functions ¶
func ResolveTerragruntConfigString ¶ added in v0.4.0
func ResolveTerragruntConfigString(terragruntConfigString string, include *IncludeConfig, terragruntOptions *options.TerragruntOptions) (resolved string, finalErr error)
Given a string value from a .terragrunt config file, parse the string, resolve any calls to helper functions using the syntax ${...}, and return the final value.
Types ¶
type CheckedTooManyParentFolders ¶ added in v0.4.0
type CheckedTooManyParentFolders string
func (CheckedTooManyParentFolders) Error ¶ added in v0.4.0
func (err CheckedTooManyParentFolders) Error() string
type IncludeConfig ¶ added in v0.4.0
type IncludeConfig struct {
Path string `hcl:"path"`
}
IncludeConfig represents the configuration settings for a parent .terragrunt file that you can "include" in a child .terragrunt file
type IncludedConfigMissingPath ¶ added in v0.4.0
type IncludedConfigMissingPath string
func (IncludedConfigMissingPath) Error ¶ added in v0.4.0
func (err IncludedConfigMissingPath) Error() string
type InvalidInterpolationSyntax ¶ added in v0.4.0
type InvalidInterpolationSyntax string
func (InvalidInterpolationSyntax) Error ¶ added in v0.4.0
func (err InvalidInterpolationSyntax) Error() string
type LockConfig ¶ added in v0.1.0
LockConfig represents generic configuration for Lock providers
type ParentTerragruntConfigNotFound ¶ added in v0.4.0
type ParentTerragruntConfigNotFound string
func (ParentTerragruntConfigNotFound) Error ¶ added in v0.4.0
func (err ParentTerragruntConfigNotFound) Error() string
type TerragruntConfig ¶
type TerragruntConfig struct { Lock locks.Lock RemoteState *remote.RemoteState }
TerragruntConfig represents a parsed and expanded configuration
func ReadTerragruntConfig ¶
func ReadTerragruntConfig(terragruntOptions *options.TerragruntOptions) (*TerragruntConfig, error)
ReadTerragruntConfig the Terragrunt config file from its default location
type TooManyLevelsOfInheritance ¶ added in v0.4.0
type TooManyLevelsOfInheritance string
func (TooManyLevelsOfInheritance) Error ¶ added in v0.4.0
func (err TooManyLevelsOfInheritance) Error() string
type UnknownHelperFunction ¶ added in v0.4.0
type UnknownHelperFunction string
func (UnknownHelperFunction) Error ¶ added in v0.4.0
func (err UnknownHelperFunction) Error() string
Click to show internal directories.
Click to hide internal directories.