Skip to content

Commit fc9d6b1

Browse files
authored
Merge pull request #179 from kartverket/terraform-fmt-diff
Print valideringsfeil etter terraform format
2 parents d7fdb49 + 1eefa4c commit fc9d6b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/run-terraform.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ jobs:
256256

257257
run: |
258258
echo 'Run format check' | tee -a $GITHUB_STEP_SUMMARY
259-
terraform fmt -check -recursive -no-color || { echo "
259+
terraform fmt -check -recursive -no-color -diff || { echo "
260260
FAILURE! The above files are not properly formatted.
261261
Run `terraform fmt` in $WORKING_DIRECTORY, commit the changed files and push to fix the issue" | tee -a $GITHUB_STEP_SUMMARY ; exit 1; }
262262

0 commit comments

Comments
 (0)