Documentation
¶
Overview ¶
Package plandir discovers per-stack Terraform plan JSON files under a single directory. Each `tfplan.json` found defines one stack; the stack's name is the directory containing it, relative to the scanned root (forward-slash form).
Index ¶
Constants ¶
View Source
const PlanFile = "tfplan.json"
PlanFile is the fixed filename Scan looks for in each stack directory. It matches Terragrunt's `--json-out-dir` output; Terramate is scripted to write the same name.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stack ¶
type Stack struct {
Name string // dir containing the plan, relative to the scan root (forward-slash)
Plan string // filesystem path to the tfplan.json
}
Stack is one discovered stack: its name and the path to its plan JSON.
Click to show internal directories.
Click to hide internal directories.