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 -diff
terraform validate -check
terraform fmt -check -recursive
terraform validate -recursive