Command: fmt | Terraform | HashiCorp Developer

The terraform fmt command rewrites configuration files to a canonical format and style.