Skip to content

Commit cb81d8c

Browse files
committed
Fix Terraform missing init on subdirectory
1 parent a5a9613 commit cb81d8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: nix/terraform-validate/default.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ set -x
88
| sort \
99
| uniq \
1010
| while read dir; do
11-
${opentofu}/bin/tofu validate "$dir"
11+
${opentofu}/bin/tofu -chdir="$dir" validate
1212
done
1313
''

0 commit comments

Comments
 (0)