terraform

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 13, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckTemplate

func CheckTemplate(completion string) error

func GetApplyConfirmation

func GetApplyConfirmation(requireConfirmation bool) (bool, error)

Types

type Ops

type Ops interface {
	Apply() error
	Init() error
}

type Terraform

type Terraform struct {
	WorkingDir string
	ExecDir    string
	Exec       *tfexec.Terraform
}

func NewTerraform

func NewTerraform(workingDir string, execDir string) (*Terraform, error)

func (*Terraform) Apply

func (ter *Terraform) Apply() error

func (*Terraform) Init

func (ter *Terraform) Init() error

Jump to

Keyboard shortcuts

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