terraform

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TfApply

func TfApply(
	dir string,
	varFiles []string,
	vars []*Vars,
	targets []string,
	verbose bool,
) error

func TfDestroy

func TfDestroy(
	dir string,
	varFiles []string,
	vars []*Vars,
	targets []string,
	verbose bool,
) error

func TfInit

func TfInit(dir string, m bool, verbose bool) error

func TfOutput

func TfOutput(dir string, outputVar string, verbose bool) (string, error)

func TfPull

func TfPull(dir string, verbose bool) (string, error)

func TfShow

func TfShow(dir string, verbose bool) (string, error)

Types

type PlanResult

type PlanResult struct {
	Plan string
	Err  error
}

func TfPlan

func TfPlan(
	dir string,
	varFiles []string,
	vars []Vars,
	verbose bool,
) PlanResult

type Vars

type Vars struct {
	Key   string
	Value string
}

func AddVar

func AddVar(k string, v string) *Vars

func NewVars

func NewVars() *Vars

Jump to

Keyboard shortcuts

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