Documentation
¶
Overview ¶
Package plan parses a Terraform plan JSON document into a RawStack: reduced action counts plus the set of affected attributes for each change action.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RawAttr ¶
type RawAttr struct {
Name string
Before any
After any
Sensitive bool
Unknown bool // known after apply
}
RawAttr is one changed attribute, pre-rendering.
type RawChange ¶
type RawChange struct {
Address string
Type string
Actions []string // raw tf actions, e.g. ["update"] or ["delete","create"]
Action model.Action
Attrs []RawAttr // populated for create/delete/update/replace/forget
Name string
ModuleAddress string
Moved bool
PreviousAddress string
Imported bool
ImportID string
}
RawChange is one resource change with its raw Terraform actions retained (classify needs them) alongside the reduced bucket.
Click to show internal directories.
Click to hide internal directories.