tfjson2

package
v0.0.0-...-e4e80b5 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2018 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenPlan

func OpenPlan(path string) (*terraform.Plan, error)

Types

type JsonExporter

type JsonExporter struct {
	Plan *terraform.Plan
}

func (*JsonExporter) Results

func (e *JsonExporter) Results() Results

func (*JsonExporter) ToJson

func (e *JsonExporter) ToJson() (*string, error)

type Resource

type Resource struct {
	Attributes    map[string]string `json:"attributes"`
	OldAttributes map[string]string `json:"oldAttributes"`
	Name          string            `json:"name"`
	ResourceType  string            `json:"resourceType"`
	RequiresNew   bool              `json:"requiresNew"`
	WillDestroy   bool              `json:"willBeDestroyed"`
}

type Results

type Results map[string]Resource

Jump to

Keyboard shortcuts

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