features/test/terraform/install_terraform_docs.sh

15 lines
289 B
Bash
Raw Permalink 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
# Terraform Docs specific tests
check "tfsec" terraform-docs --version
# Report result
reportResults