Difference between revisions of "Terraform fmt"

From wikieduonline
Jump to navigation Jump to search
Line 16: Line 16:
 
* <code>[[terraform fmt -check]]</code>
 
* <code>[[terraform fmt -check]]</code>
 
:(no output)
 
:(no output)
 +
 +
* <code>[[-diff]]</code> - Display diffs of formatting changes
  
 
== Related commands ==
 
== Related commands ==

Revision as of 18:54, 21 February 2022

Usage: terraform fmt [options] [DIR]

terraform fmt
(no output)
terraform fmt
main.tf
terraform fmt 
main.tf
variables.tf
(no output)
  • -diff - Display diffs of formatting changes

Related commands

See also

Advertising: