terraform fmt --help



  • Check for updates to the options: https://www.terraform.io/docs/commands/index.html

    Usage: terraform fmt [options] [DIR]
    
            Rewrites all Terraform configuration files to a canonical format.
    
            If DIR is not specified then the current working directory will be used.
            If DIR is "-" then content will be read from STDIN.
    
    Options:
    
      -list=true       List files whose formatting differs (always false if using STDIN)
    
      -write=true      Write result to source file instead of STDOUT (always false if using STDIN)
    
      -diff=false      Display diffs of formatting changes
    

Log in to reply
 

© Lightnetics 2024