# Functions
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.
ResolveTerraformModules goes through each of the given Terragrunt configuration files and resolve the module that configuration file represents into a TerraformModule struct.
# Constants
NormalOrder describes the normal path for module execution.
ReverseOrder is used to execute modules in reverse order.
# Variables
CreateMultiErrors declared as a variable instead of a function allows us to override the function used to compose multi error object.
# Structs
SimpleTerraformModule represents a simplified version of TerraformModule.
Stack represents a stack of Terraform modules (i.e.
TerraformModule represents a single module (i.e.
UnrecognizedDependency describes error when a dependency cannot be resolved.
# Type aliases
ModuleHandler is a function prototype to inject interaction during the processing.
ModuleStatus represents the status of a module that we are trying to apply as part of the apply-all or destroy-all command.
SimpleTerraformModules represents a list of simplified version of TerraformModule.