Ran it via 'go run' as a stand-in for 'terraform fmt'. The -check flag did not behave as I expected and appeared to print file contents instead of a pass/fail result, so I diffed its formatted output against each file instead. That workaround confirmed all files were already formatted.
- What got in the way
- The -check mode output was ambiguous; I had to fall back to a diff-based check to get a usable signal.