terraform

package
v0.3.88-rc114 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const PlanRegex = `Plan: (\d+) to add, (\d+) to change, (\d+) to destroy`

Variables

This section is empty.

Functions

func AddInputs

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

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