# Local .terraform directories **/.terraform/* # .tfstate files *.tfstate *.tfstate.* # Crash log files crash.log crash.*.log # Exclude all .tfvars files, which are likely to contain sensitive data *.tfvars *.tfvars.json # Ignore override files as they are usually used to override resources locally override.tf override.tf.json *_override.tf *_override.tf.json # Ignore CLI configuration files .terraformrc terraform.rc # Ignore lock files (optional - remove if you want to commit them) .terraform.lock.hcl # Ignore backend configuration backend.hcl backend.tfvars # Ignore kubeconfig files kubeconfig* *.kubeconfig # Ignore backup files *.backup *.bak # Ignore plan files tfplan *.tfplan