- Don’t commit the .tfstate file (source)
terraform fmt
to lint the .tf fileterraform validate
to ensure the correctness of .tf file before callingterraform apply
- Commit the
.terraform.lock.hcl
file to make sure thatterraform
uses the same version of plugins and providers
This repository has been archived by the owner on Aug 27, 2023. It is now read-only.