What does this command do?
terraform fmt
- Rewrites files to canonical style
- Removes the unused state entries
- Formats the plan output as JSON
- Validates the provider versions
fmt only reformats configuration; it never touches infrastructure.
Play DevOps ▸