terraform

package
v0.1.45 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFilePaths added in v0.1.43

func GetFilePaths(dir string, iacType string) ([]string, error)

func GetResourceType

func GetResourceType(resource hclwrite.Block) string

func GetTerraformVersion

func GetTerraformVersion() (*common.Version, error)

func ValidateInitRun added in v0.1.43

func ValidateInitRun(dir string, iacType 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"`
}

type VersionPart

type VersionPart int
const (
	Major VersionPart = iota
	Minor
)

func (VersionPart) EnumIndex

func (w VersionPart) EnumIndex() int

Jump to

Keyboard shortcuts

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