QuestionQ77

Terraform fundamentals

Running terraform fmt without flags in a directory containing Terraform configuration files checks the formatting of those files, but never modifies them.

  • A True
  • B False
Explanation

By default, terraform fmt scans the current directory and writes Terraform configuration files in the canonical format. The -write=false flag, or the implied behavior of -check, is required to prevent overwriting files.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!