terraform

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2018 License: Apache-2.0 Imports: 9 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

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(dir string, extraArgs ...string) (string, error)

Apply runs "terraform apply" in the given directory. It returns the absolute path of the tfstate file, rooted in the specified directory, along with any errors from Terraform.

func Init

func Init(dir string) error

Init runs "terraform init" in the given directory.

func Version added in v0.2.0

func Version() (version string, err error)

Version gets the output of 'terrraform version'.

Types

This section is empty.

Jump to

Keyboard shortcuts

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