Format configuration
low risk
Canonical formatting for HCL. See the flags and examples below, and run `man terraform` for the full reference.
| Flag | Meaning |
|---|---|
-check | Report only |
-recursive | Recurse |
-diff | Show diffs |
terraform fmt -check -recursiveCI check · explain & risk-check →Reference text is hand-written and may be incomplete — check man terraform for your version. Test destructive commands on a non-production system first.