Complete the code to format Terraform files using the correct command.
terraform [1]The terraform fmt command formats Terraform configuration files to a canonical format and style.
Complete the command to format Terraform files recursively in all subdirectories.
terraform fmt [1]The -recursive flag tells terraform fmt to format files in the current directory and all subdirectories.
Fix the error in the command to check formatting without changing files.
terraform fmt [1]The -check flag checks if files are formatted correctly without modifying them.
Fill both blanks to format files and show differences without writing changes.
terraform fmt [1] [2]
Using -recursive formats all files in subdirectories, and -diff shows the differences without changing files.
Fill all three blanks to check formatting recursively and prevent writing changes.
terraform fmt [1] [2] [3]
The flags -recursive, -check, and -write=false together check formatting in all folders without modifying files.