jx: github.com/jenkins-x/jx/pkg/terraform Index | Files

package terraform

import "github.com/jenkins-x/jx/pkg/terraform"

Index

Package Files

terraform.go

Variables

var MinTerraformVersion = "0.12.0"

MinTerraformVersion defines the minimum terraform version we support

func Apply Uses

func Apply(terraformDir string, terraformVars string, serviceAccountPath string, stdout io.Writer, stderr io.Writer) error

func CheckVersion Uses

func CheckVersion() error

CheckVersion checks the installed version of terraform to sure it is greater than 0.12.0

func Init Uses

func Init(terraformDir string, serviceAccountPath string) error

func Output Uses

func Output(output string) (string, error)

Output displays a terraform output from the local terraform.tfstate

func Plan Uses

func Plan(terraformDir string, terraformVars string, serviceAccountPath string) (string, error)

func ReadValueFromFile Uses

func ReadValueFromFile(path string, key string) (string, error)

func WriteKeyValueToFileIfNotExists Uses

func WriteKeyValueToFileIfNotExists(path string, key string, value string) error

Package terraform imports 9 packages (graph) and is imported by 1 packages. Updated 2019-10-15. Refresh now. Tools for package owners.