Versions in this module Expand all Collapse all v1 v1.0.0 Jan 30, 2025 Changes in this version + const CommandNameApply + const CommandNameConsole + const CommandNameDestroy + const CommandNameForceUnlock + const CommandNameGet + const CommandNameImport + const CommandNameInit + const CommandNameInitFromModule + const CommandNameLock + const CommandNameOutput + const CommandNamePlan + const CommandNameProviders + const CommandNameShow + const CommandNameState + const CommandNameTaint + const CommandNameUntaint + const CommandNameValidate + const CommandNameVersion + const EnvNameTFCLIConfigFile + const EnvNameTFPluginCacheDir + const EnvNameTFPluginCacheMayBreakDependencyLockFile + const EnvNameTFTokenFmt + const EnvNameTFVarFmt + const FlagNameDestroy + const FlagNameDetailedExitCode + const FlagNameHelpLong + const FlagNameHelpShort + const FlagNameJSON + const FlagNameNoColor + const FlagNamePlatform + const FlagNameVersion + const TerraformLockFile + const TerraformPlanFile + const TerraformPlanJSONFile + func BuildRequestURL(registryDomain string, moduleRegistryBasePath string, modulePath string, ...) (*url.URL, error) + func GetDownloadURLFromHeader(moduleURL url.URL, terraformGet string) (string, error) + func GetModuleRegistryURLBasePath(ctx context.Context, logger log.Logger, domain string) (string, error) + func GetTerraformGetHeader(ctx context.Context, logger log.Logger, url url.URL) (string, error) + func IsLocalSource(sourceURL *url.URL) bool + func ModuleVariables(modulePath string) ([]string, []string, error) + func ParseLog(str string) (msg string, ptrTime *time.Time, ptrLevel *log.Level, err error) + func ParseLogFunc(msgPrefix string, returnError bool) writer.WriterParseFunc + func SplitSourceURL(sourceURL *url.URL, logger log.Logger) (*url.URL, string, error) + func ToSourceURL(source string, workingDir string) (*url.URL, error) + type MalformedRegistryURLErr struct + func (err MalformedRegistryURLErr) Error() string + type ModuleDownloadErr struct + func (err ModuleDownloadErr) Error() string + type RegistryAPIErr struct + func (err RegistryAPIErr) Error() string + type RegistryGetter struct + TerragruntOptions *options.TerragruntOptions + func (tfrGetter *RegistryGetter) ClientMode(u *url.URL) (getter.ClientMode, error) + func (tfrGetter *RegistryGetter) Context() context.Context + func (tfrGetter *RegistryGetter) Get(dstPath string, srcURL *url.URL) error + func (tfrGetter *RegistryGetter) GetFile(dst string, src *url.URL) error + func (tfrGetter *RegistryGetter) SetClient(client *getter.Client) + type RegistryServicePath struct + ModulesPath string + type ServiceDiscoveryErr struct + func (err ServiceDiscoveryErr) Error() string + type Source struct + CanonicalSourceURL *url.URL + DownloadDir string + Logger log.Logger + VersionFile string + WalkWithSymlinks bool + WorkingDir string + func NewSource(source string, downloadDir string, workingDir string, logger log.Logger, ...) (*Source, error) + func (src Source) EncodeSourceVersion() (string, error) + func (src Source) String() string + func (src Source) WriteVersionFile() error