Modules affected
terraform
Description
-
Implement ValidateAllTerraformModules function. This function makes it easy to create a single test that will find all Terraform modules in your repository and run
terraform init
andterraform validate
on them. This function is configurable and allows you to pass the:RootDir
to search for all Terraform modules fromIncludeDirs
to include in the set of modules to validateExcludeDirs
to exclude from the set of modules to validate
-
Run
ValidateAllTerraformModules
against the Terratest repository itself, to flush out any issues inmodules
orexamples
-
Fix all of the Terraform validation issues found by the previous step