Should I commit .tfstate files to Git?
There are a few reasons not to store your .tfstate files in Git: You are likely to forget to commit and push your changes after running terraform apply, so your teammates will have out-of-date .tfstate files. Also, without any locking on these state files, if two team members run Terraform at the same time on … Read more