Examples (4)
Format the configuration in the current directory
Format the configuration in the current directory and subdirectories
terraform fmt -recursiveDisplay diffs of formatting changes
terraform fmt -diffDo not list files that were formatted to `stdout`
terraform fmt -list=falsemade by @shridhargupta | data from tldr-pages