prune

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: MIT Imports: 12 Imported by: 0

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.

Jump to

Keyboard shortcuts

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