print

package
v0.77.22 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package print implements the 'terragrunt info print' command that outputs Terragrunt context information in a structured JSON format. This includes configuration paths, working directories, IAM roles, and other essential Terragrunt runtime information useful for debugging and automation purposes.

Index

Constants

View Source
const (
	CommandName = "print"
)

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(opts *options.TerragruntOptions, prefix flags.Prefix) *cli.Command

func NewListFlags

func NewListFlags(opts *options.TerragruntOptions, prefix flags.Prefix) cli.Flags

Types

type InfoOutput

type InfoOutput struct {
	ConfigPath       string `json:"config_path"`
	DownloadDir      string `json:"download_dir"`
	IAMRole          string `json:"iam_role"`
	TerraformBinary  string `json:"terraform_binary"`
	TerraformCommand string `json:"terraform_command"`
	WorkingDir       string `json:"working_dir"`
}

InfoOutput represents the structured output of the info command

Jump to

Keyboard shortcuts

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