# Local .terraform directories **/.terraform/* # .tfstate files *.tfstate *.tfstate.* # Crash log files crash.log crash.*.log # Exclude override files as they are usually for local changes override.tf override.tf.json *_override.tf *_override.tf.json # Include override files you do wish to add to version control using negation # !example_override.tf # Exclude Terraform variable files that may contain sensitive data **/*.tfvars **/*.tfvars.json # Ignore CLI configuration files .terraformrc terraform.rc # Ignore lock files (optional: keep if you want dependency locking in VCS) .terraform.lock.hcl # IDE and OS specific files .DS_Store Thumbs.db *.swp *.bak *.tmp *.idea/ .vscode/