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 ¶
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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.