diff options
Diffstat (limited to 'test/terraform/install_terraform_docs.sh')
-rw-r--r-- | test/terraform/install_terraform_docs.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/terraform/install_terraform_docs.sh b/test/terraform/install_terraform_docs.sh new file mode 100644 index 0000000..4ca0b16 --- /dev/null +++ b/test/terraform/install_terraform_docs.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +set -e + +# Import test library for `check` command +source dev-container-features-test-lib + +# Check to make sure the user is vscode +check "user is vscode" whoami | grep vscode + +# Terraform Docs specific tests +check "tfsec" terraform-docs --version + +# Report result +reportResults
\ No newline at end of file |