features/test/terraform/install_tfsec.sh

15 lines
271 B
Bash
Raw Normal View History

#!/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