Documentation
¶
Overview ¶
Package runner provides logic for applying Stacks and Units Terragrunt.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindStackInSubfolders ¶
func FindStackInSubfolders(ctx context.Context, l log.Logger, terragruntOptions *options.TerragruntOptions, opts ...common.Option) (common.StackRunner, error)
FindStackInSubfolders finds all the Terraform modules in the subfolders of the working directory of the given TerragruntOptions and assemble them into a Stack object that can be applied or destroyed in a single command
func FindWhereWorkingDirIsIncluded ¶
func FindWhereWorkingDirIsIncluded(ctx context.Context, l log.Logger, opts *options.TerragruntOptions, terragruntConfig *config.TerragruntConfig) []*component.Unit
FindWhereWorkingDirIsIncluded - find where working directory is included, flow: 1. Find root git top level directory and build list of modules 2. Iterate over includes from opts if git top level directory detection failed 3. Filter found module only items which has in dependencies working directory
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package common defines minimal runner interfaces to allow multiple implementations.
|
Package common defines minimal runner interfaces to allow multiple implementations. |
|
Package run provides the main entry point for running orchestrated runs.
|
Package run provides the main entry point for running orchestrated runs. |
|
creds
Package creds provides a way to obtain credentials through different providers and set them to `opts.Env`.
|
Package creds provides a way to obtain credentials through different providers and set them to `opts.Env`. |
|
creds/providers
Package providers defines the interface for a provider.
|
Package providers defines the interface for a provider. |
|
creds/providers/amazonsts
Package amazonsts provides a credentials provider that obtains credentials by making API requests to Amazon STS.
|
Package amazonsts provides a credentials provider that obtains credentials by making API requests to Amazon STS. |
|
creds/providers/externalcmd
Package externalcmd provides a provider that runs an external command that returns a json string with credentials.
|
Package externalcmd provides a provider that runs an external command that returns a json string with credentials. |
|
Package runnerpool provides a runner implementation based on a pool pattern for executing multiple units concurrently.
|
Package runnerpool provides a runner implementation based on a pool pattern for executing multiple units concurrently. |
Click to show internal directories.
Click to hide internal directories.