The terraform test
command reads in Terraform testing files and executes the tests detailed within.
The test
command, and the test file syntax, are targeted at module authors wishing to validate and test their shared modules. Despite this, it is also possible to use the test
command to validate root modules.
Usage: terraform test [options]