CmdID

CmdID / Commands

terraform-fmt

Format configuration according to Terraform language style conventions. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Format the configuration in the current directory

terraform fmtIdentify

Format the configuration in the current directory and subdirectories

terraform fmt -recursiveIdentify

Display diffs of formatting changes

terraform fmt -diffIdentify

Do not list files that were formatted to stdout

terraform fmt -list=falseIdentify