Documentation ¶
Overview ¶
Package terraform provides convenience utilities for working with the terraform command line tool programatically.
Index ¶
Constants ¶
View Source
const ( ErrTerraformInit = "failed to perform terraform init" ErrTerraformValidate = "failed to perform terraform validate" ErrTerraformGraph = "failed to perform terraform graph" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Terraform ¶
type Terraform struct {
// contains filtered or unexported fields
}
func New ¶
New creates a new instance of the Terraform library with error logging, initialization, and a terraform executable fallback built-in.
func (*Terraform) Cleanup ¶
Cleanup cleans the temporary directories created during terraform execution
func (*Terraform) Graph ¶
Graph initalizes and converts valid terraform into a GraphViz visualization.
func (*Terraform) RenderTemplate ¶
RenderTemplate renders the terraform template to the temp dir and cleans up after
Click to show internal directories.
Click to hide internal directories.