v0.0.0-...-6477f42 Latest Latest

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

Go to latest
Published: Mar 6, 2022 License: Apache-2.0 Imports: 7 Imported by: 0




This section is empty.


This section is empty.


func FolderChecks

func FolderChecks(folder []hcl.ParsedFile, config config.ConfigurationLayer) bool

FolderChecks run the check inside the given folder

func MainChecks

func MainChecks(conf config.TfvConfig, workDir string) bool

MainChecks in the main function that will check an entire folder

func VerifyFile

func VerifyFile(parsedFile hcl.ParsedFile, pattern string,
	authorizedBlocks []string, verifyVariables bool, verifyOutputs bool) bool

VerifyFile launch every check that are file dependant (block names and authorized blocks)

func VerifyMandatoryFilesPresent

func VerifyMandatoryFilesPresent(parsedFolder []hcl.ParsedFile,
	mandatoryFiles []string) bool

VerifyMandatoryFilesPresent ensure that the mandatory files are present

func VerifyProvidersVersion

func VerifyProvidersVersion(parsedFolder []hcl.ParsedFile) bool

VerifyProvidersVersion ensure that all providers have a version

func VerifyTerraformVersion

func VerifyTerraformVersion(parsedFolder []hcl.ParsedFile) bool

VerifyTerraformVersion ensure that the terraform version is set

func VerifyVariablesOutputsDescritions

func VerifyVariablesOutputsDescritions(parsedFile hcl.ParsedFile,
	verifyVariables bool, verifyOutputs bool) (errs []error)

VerifyVariablesOutputsDescritions ensure that all the variables and outputs blocks have a descrition


This section is empty.

Jump to

Keyboard shortcuts

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