Using Terraform CLI, how do you reformat all files to meet the standard style including the files in subfolders?

Experience Level: Junior
Tags: Terraform

Answer

Run the following command:

terraform fmt -recursive

Comments

No Comments Yet.
Be the first to tell us what you think.
Terraform CLI
Terraform CLI

Are you learning Terraform ? Try our test we designed to help you progress faster.

Test yourself