Documentation ¶
Overview ¶
Package prune has the logic to Prune a configuration to make it anonymous and only keep the information needed to generate the Graph and discarding the extra
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Prune ¶
func Prune(tfstate json.RawMessage, replaceCanonicals bool) (json.RawMessage, error)
Prune will prune the tfstate of unneeded information and if replaceCanonicals is specified the resource canonicals will also be changed, for exmple 'aws_lb.front' will be changed to a random name like 'aws_lb.XptaK'
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.