Documentation ¶
Index ¶
Constants ¶
View Source
const ( CommandNameSpinUp = "spin-up" CommandNameTearDown = "tear-down" CommandNamePlanAll = "plan-all" CommandNameApplyAll = "apply-all" CommandNameDestroyAll = "destroy-all" CommandNameOutputAll = "output-all" CommandNameValidateAll = "validate-all" )
The following commands are DEPRECATED
View Source
const AppHelpTemplate = `` /* 832-byte string literal not displayed */
View Source
const AppVersionTemplate = `terragrunt version {{.App.Version}}
`
View Source
const CommandHelpTemplate = `` /* 975-byte string literal not displayed */
Variables ¶
View Source
var ( // HTTPStatusCacheProviderReg is regular expression to determine the success result of the command `terraform init`. // The reg matches if the text contains "423 Locked", for example: // // - registry.terraform.io/hashicorp/template: could not query provider registry for registry.terraform.io/hashicorp/template: 423 Locked. // // It also will match cases where terminal window is small enough so that terraform splits output in multiple lines, like following: // // ╷ // │ Error: Failed to install provider // │ // │ Error while installing snowflake-labs/snowflake v0.89.0: could not query // │ provider registry for registry.terraform.io/snowflake-labs/snowflake: 423 // │ Locked // ╵ HTTPStatusCacheProviderReg = regexp.MustCompile(`(?smi)` + strconv.Itoa(cacheProviderHTTPStatusCode) + `.*` + http.StatusText(cacheProviderHTTPStatusCode)) )
Functions ¶
This section is empty.
Types ¶
type ProviderCache ¶ added in v0.57.9
func InitProviderCacheServer ¶ added in v0.56.4
func InitProviderCacheServer(opts *options.TerragruntOptions) (*ProviderCache, error)
func (*ProviderCache) TerraformCommandHook ¶ added in v0.57.9
func (cache *ProviderCache) TerraformCommandHook(ctx context.Context, opts *options.TerragruntOptions, args []string) (*shell.CmdOutput, error)
Click to show internal directories.
Click to hide internal directories.