terraform

package
v0.3.34-rc49 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddInputs

func AddInputs(inputs map[string]interface{}, moduleBody *hclwrite.Body, branch string)

func GetMockTerraformMain

func GetMockTerraformMain() []byte

func ReadTerraformFile

func ReadTerraformFile(fileName string) (*hclwrite.File, error)

func UnmarshalTerraformFile

func UnmarshalTerraformFile(fileName string, fileContent []byte) (*hclwrite.File, error)

Types

type Terraform

type Terraform interface {
	GetTerraformProvider(step model.Step, moduleVersions map[string]string) ([]byte, error)
	GetEmptyTerraformProvider(version string) ([]byte, error)
}

func NewTerraform

func NewTerraform(github github.Github) Terraform

Jump to

Keyboard shortcuts

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