Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Terraform ¶
type Terraform struct {
// Path is the path to Terraform itself. If empty, "terraform"
// will be used and looked up via the PATH var.
Path string
// Dir is the working directory where all Terraform commands are executed
Dir string
// Ui, if given, will be used to stream output from the Terraform commands.
// If this is nil, then the output will be logged but won't be visible
// to the user.
Ui ui.Ui
// Variables is a list of variables to pass to Terraform.
Variables map[string]string
Directory persistence.Backend
StateId string
}
Terraform wraps `terraform` execution into an easy-to-use API
Click to show internal directories.
Click to hide internal directories.