Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom committed Jul 30, 2024
1 parent 895ee74 commit 1b0f676
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions bin/validate-config-files
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

set -eo pipefail

for dir in $(find terraform -type d -mindepth 1); do
pushd "${dir}" > /dev/null
terraform init -backend=false
terraform validate
popd > /dev/null
done
pushd terraform > /dev/null
terraform init -backend=false
terraform validate
popd > /dev/null

0 comments on commit 1b0f676

Please sign in to comment.