Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasTFVarFiles ¶ added in v0.0.8
HasTFVarFiles checks if the given directory has Terraform variable files. If the directory does not have any Terraform variable files, it returns an error.
func HasTerraformFiles ¶
HasTerraformFiles checks if the given directory has Terraform files with the given extensions. If the directory does not have any Terraform files with the given extensions, it returns an error.
func IsValidTFDir ¶
IsValidTFDir checks if the given path is a valid Terraform directory. A valid Terraform directory is a directory that exists and is not empty.
func IsValidTFModuleDir ¶ added in v0.0.7
IsValidTFModuleDir checks if the given path is a valid Terraform module directory. A valid Terraform module directory is a directory that contains at least one Terraform file with the .tf extension. The path must also be a valid directory.
func IsValidTFVarFile ¶
IsValidTFVarFile checks if the given path is a valid Terraform variable file. A valid Terraform variable file is a file with the .tfvars extension that is not empty.
Types ¶
This section is empty.