SaveMyCert
Log in
2 of 2 free questions left today·for 5 a day
Core Terraform workflow

terraform fmt: canonical formatting

2 min read · 368 wordsTerraform 004Updated

In one line: fmt rewrites .tf and .tfvars in place without init and never sorts; -recursive, -check, -diff and -write=false change scope and exit codes.

You’ve read your 2 free Terraform 004 lessons

Sign up free to read every lesson — your progress is saved.

Spotted a mistake in this part?

Part 9 of 10Next