runner

package
v0.99.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2026 License: MIT Imports: 11 Imported by: 0

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 FindDependentUnits added in v0.99.0

func FindDependentUnits(
	ctx context.Context,
	l log.Logger,
	opts *options.TerragruntOptions,
	cfg *config.TerragruntConfig,
) []*component.Unit

FindDependentUnits - find dependent units for a given unit. 1. Find root git top level directory and build list of units 2. Iterate over includes from opts if git top level directory detection failed 3. Filter found units for those that have dependencies on the unit in the working directory

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

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 graph implements the logic for running commands against the graph of dependencies for the unit in the current working directory.
Package graph implements the logic for running commands against the graph of dependencies for the unit in the current working directory.
run
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 runall implements the logic for running commands across all units in a stack.
Package runall implements the logic for running commands across all units in a stack.
Package runcfg provides configuration types for running terragrunt commands.
Package runcfg provides configuration types for running terragrunt commands.
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL