terraform

package
v0.3.63-rc84 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: Apache-2.0 Imports: 14 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 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, providerType model.ProviderType) ([]byte, []string, error)
	GetEmptyTerraformProvider(version string, providerType model.ProviderType) ([]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