terraform

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package terraform contains the utilities that's used for invoking terraform executable under the given directory with the given templates.

Index

Constants

View Source
const (
	// StateFileName is the default name for Terraform state files.
	StateFileName string = "terraform.tfstate"

	// VarFileName is the default name for Terraform var file.
	VarFileName string = "terraform.tfvars"
)

Variables

This section is empty.

Functions

func Apply

func Apply(dir string, platform string, extraArgs ...string) (path string, err error)

Apply unpacks the platform-specific Terraform modules into the given directory and then runs 'terraform init' and 'terraform apply'. It returns the absolute path of the tfstate file, rooted in the specified directory, along with any errors from Terraform.

func Destroy added in v0.3.0

func Destroy(dir string, platform string, extraArgs ...string) (err error)

Destroy unpacks the platform-specific Terraform modules into the given directory and then runs 'terraform init' and 'terraform destroy'.

Types

This section is empty.

Directories

Path Synopsis
Package exec is glue between the vendored terraform codebase and installer.
Package exec is glue between the vendored terraform codebase and installer.
plugins
Package plugins is collection of all the terraform plugins that are used/required by installer.
Package plugins is collection of all the terraform plugins that are used/required by installer.

Jump to

Keyboard shortcuts

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