Documentation
¶
Overview ¶
Package plan parses a Terraform plan JSON document into a RawStack: reduced action counts plus, for update/replace changes, the set of changed attributes.
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 update/replace only
}
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.