What does command 'terraform fmt -check' do?

Experience Level: Junior
Tags: Terraform


This command checks formatting of files in the current folder and returns exit status 0 if all files are properly formatted. Non-zero exit status is returned otherwise.


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