Test
testLicense
Test the license of a project using reuse.
Types:
- testLicense:
- enable (
bool
): Optional. Defaults tofalse
.
- enable (
Example:
testTerraform
Test Terraform code
by performing a terraform plan
over the specified Terraform modules.
Types:
- testTerraform:
- modules (
attrsOf moduleType
): Optional. Path to Terraform modules to lint. Defaults to{ }
.
- modules (
- moduleType (
submodule
):- setup (
listOf package
): Optional. Makes Environment or Makes Secrets tosource
(as in Bash'ssource
) before anything else. Defaults to[ ]
. - src (
str
): Path to the Terraform module. - version (
enum [ "0.14" "0.15" "1.0" ]
): Terraform version your module is built with. - debug (
bool
): Optional. Enable maximum level of debugging and remove parallelism so logs are clean. Defaults tofalse
.
- setup (
Example: