diff options
author | Pierre-Emmanuel Mercier <acesyde@gmail.com> | 2022-12-13 21:58:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-13 21:58:22 +0300 |
commit | 84f3e62d1c5ea8a62152606e7aec81ef711eae0a (patch) | |
tree | 9c4fda03ba904cd0380ff364bb01b71264821bfc /test/terraform/install_tfsec.sh | |
parent | 7b009e661f13085629b19fc157b577916587f6bc (diff) |
Add TFSec and Terraform Docs to Terraform features (#327)
* Add TFSec and Terraform Docs
* PR Review
* code review
Diffstat (limited to 'test/terraform/install_tfsec.sh')
-rw-r--r-- | test/terraform/install_tfsec.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/terraform/install_tfsec.sh b/test/terraform/install_tfsec.sh new file mode 100644 index 0000000..0c9a48b --- /dev/null +++ b/test/terraform/install_tfsec.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 + +# TFSec specific tests +check "tfsec" tfsec --version + +# Report result +reportResults
\ No newline at end of file |