Difference between revisions of "Terraform fmt"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
<code>terraform fmt</code> command is used to rewrite Terraform configuration files to a canonical format and style.
+
<code>terraform fmt</code> command is used to rewrite Terraform configuration files to a canonical format and style. <ref>https://www.terraform.io/docs/cli/commands/fmt.html</ref>
* https://www.terraform.io/docs/cli/commands/fmt.html  
 
  
 
  [[terraform fmt --help]]
 
  [[terraform fmt --help]]
Line 9: Line 8:
 
  [[terraform fmt -write -recursive]]
 
  [[terraform fmt -write -recursive]]
 
  [[terraform fmt -check -recursive -diff]]
 
  [[terraform fmt -check -recursive -diff]]
 
  
 
== Examples ==
 
== Examples ==

Revision as of 17:24, 15 November 2023

Advertising: