Skip to content

Commit

Permalink
Fix Terraform missing init on subdirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
shikanime committed Jan 21, 2025
1 parent a5a9613 commit cb81d8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix/terraform-validate/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ set -x
| sort \
| uniq \
| while read dir; do
${opentofu}/bin/tofu validate "$dir"
${opentofu}/bin/tofu -chdir="$dir" validate
done
''

0 comments on commit cb81d8c

Please sign in to comment.