Skip to content

Commit

Permalink
Ignore .terraform when running validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jberlinsky committed Jan 10, 2019
1 parent c7b6ef7 commit 9796895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function docker() {
function check_terraform() {
echo "Running terraform validate"
#shellcheck disable=SC2156
find . -name "*.tf" -not -path "./test/fixtures/shared/*" -exec bash -c 'terraform validate --check-variables=false $(dirname "{}")' \;
find . -name "*.tf" -not -path "./**/.terraform/*" -not -path "./test/fixtures/shared/*" -exec bash -c 'terraform validate --check-variables=false $(dirname "{}")' \;
}

# This function runs 'go fmt' and 'go vet' on eery file
Expand Down

0 comments on commit 9796895

Please sign in to comment.