terraform

package
v0.3.96-rc126 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 16 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)

func ParseLogChanges

func ParseLogChanges(pipelineName, log string) (*model.TerraformChanges, error)

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]model.ModuleVersion, providerType model.ProviderType, sources map[string]*model.Source, moduleSources map[string]string) ([]byte, map[string]model.Set[string], 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