terraform

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetResourceType

func GetResourceType(resource *hclwrite.Block) string

func GetTerraformFilePaths

func GetTerraformFilePaths(dir string) ([]string, error)

func GetTerraformVersionOutput

func GetTerraformVersionOutput(dir string) (string, error)

func ValidateInitRun

func ValidateInitRun(dir string) error

Types

type ModuleMetadata

type ModuleMetadata struct {
	Key    string `json:"Key"`
	Source string `json:"Source"`
	Dir    string `json:"Dir"`
}

type ModulesJson

type ModulesJson struct {
	Modules []ModuleMetadata `json:"Modules"`
}

Jump to

Keyboard shortcuts

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