fmt and validate in CI
A CI job must fail if any .tf file in the repo is not in canonical style, without modifying the files. Which command fits?
.tf
Choose one answer
terraform fmt -recursive
terraform plan -lock=false
terraform fmt -check -recursive
terraform validate