Skip to content
This repository has been archived by the owner on Aug 27, 2023. It is now read-only.

Latest commit

 

History

History
9 lines (8 loc) · 385 Bytes

TF.md

File metadata and controls

9 lines (8 loc) · 385 Bytes

Terraform Best Practices

  1. Don’t commit the .tfstate file (source)
  2. terraform fmt to lint the .tf file
  3. terraform validate to ensure the correctness of .tf file before calling terraform apply
  4. Commit the .terraform.lock.hcl file to make sure that terraform uses the same version of plugins and providers