Versions in this module Expand all Collapse all v1 v1.0.1 Apr 27, 2026 Changes in this version + const ContextKey + const DEFAULT_RETRY_MAX_ATTEMPTS + const DEFAULT_RETRY_SLEEP_INTERVAL_SEC + const DefaultIAMAssumeRoleDuration + const DefaultJSONOutName + const DefaultMaxFoldersToCheck + const DefaultParallelism + const DefaultTFDataDir + const TerraformDefaultPath + const TofuDefaultPath + var DEFAULT_RETRYABLE_ERRORS = []string + var DefaultWrappedPath = identifyDefaultWrappedExecutable() + var RunTerragruntCommandNotSet = fmt.Errorf("The RunTerragrunt option has not been set on this TerragruntOptions object") + var TERRAFORM_COMMANDS_WITH_SUBCOMMAND = []string + func DefaultWorkingAndDownloadDirs(terragruntConfigPath string) (string, string, error) + func GetDefaultIAMAssumeRoleSessionName() string + type IAMRoleOptions struct + AssumeRoleDuration int64 + AssumeRoleSessionName string + RoleARN string + func MergeIAMRoleOptions(target IAMRoleOptions, source IAMRoleOptions) IAMRoleOptions + type TerraformImplementationType string + const OpenTofuImpl + const TerraformImpl + const UnknownImpl + type TerragruntOptions struct + AutoInit bool + AutoRetry bool + AwsProviderPatchOverrides map[string]string + Check bool + CheckDependentModules bool + Debug bool + DiagnosticsFunc func(err error, filename string, config interface{}, evalContext *hcl.EvalContext) + Diff bool + DisableBucketUpdate bool + DisableCommandValidation bool + DisableLogColors bool + DownloadDir string + DownloadSource func(downloadDir string, url string, ops *TerragruntOptions) error + Env map[string]string + ErrWriter io.Writer + ExcludeDirs []string + FailIfBucketCreationRequired bool + FetchDependencyOutputFromState bool + Functions func(baseDir string) map[string]function.Function + GetOutputs func(targetConfig string, ops *TerragruntOptions) (*cty.Value, bool, error) + HclFile string + IAMRoleOptions IAMRoleOptions + IgnoreDependencyErrors bool + IgnoreDependencyOrder bool + IgnoreExternalDependencies bool + IncludeDirs []string + IncludeExternalDependencies bool + IncludeModulePrefix bool + JSONOut string + LogLevel logrus.Level + LogLevelStr string + Logger *logrus.Entry + MaxFoldersToCheck int + ModulesThatInclude []string + NonInteractive bool + OriginalIAMRoleOptions IAMRoleOptions + OriginalTerraformCommand string + OriginalTerragruntConfigPath string + OutputPrefix string + Parallelism int + RenderJsonWithMetadata bool + RetryMaxAttempts int + RetrySleepIntervalSec time.Duration + RetryableErrors []string + RunAllAutoApprove bool + RunTerragrunt func(*TerragruntOptions) error + Source string + SourceMap map[string]string + SourceUpdate bool + StrictInclude bool + TerraformCliArgs []string + TerraformCommand string + TerraformImplementation TerraformImplementationType + TerraformPath string + TerraformVersion *version.Version + TerragruntConfigPath string + TerragruntVersion *version.Version + UsePartialParseConfigCache bool + ValidateStrict bool + WorkingDir string + Writer io.Writer + func NewTerragruntOptions() *TerragruntOptions + func NewTerragruntOptionsForTest(terragruntConfigPath string) (*TerragruntOptions, error) + func NewTerragruntOptionsWithConfigPath(terragruntConfigPath string) (*TerragruntOptions, error) + func (opts *TerragruntOptions) AppendTerraformCliArgs(argsToAppend ...string) + func (opts *TerragruntOptions) Clone(terragruntConfigPath string) *TerragruntOptions + func (opts *TerragruntOptions) DataDir() string + func (opts *TerragruntOptions) InsertTerraformCliArgs(argsToInsert ...string) + func (opts *TerragruntOptions) OptionsFromContext(ctx context.Context) *TerragruntOptions + func (opts *TerragruntOptions) TerraformDataDir() string